SolusVM 节点服务器 CentOS 7 分区教程(图文)

Kevin 教程 2,575 次浏览 44条评论

CentOS 7 安装程序里的分区不如 CentOS 6 的好用,对于 SolusVM Slave 分区要求没法一步设置好。要在系统安装后删除重建 VG 分区,下文配合截图记录操作流程。

用 IPMI 之类控制台远程安装 CentOS 7,安装选项界面点击 INSTALLATION DESTINATION。

安装 CentOS 7
安装 CentOS 7
设置安装位置
设置安装位置

选中需使用的硬盘,点击 I will configure partitioning。然后点 Done 进入分区设置,选择 Standard Partition 创建所需分区(通常是/boot/swap这几个分区,剩余空间创建 VG 放虚拟机使用)。

选择硬盘和选择自定义配置分区
选择硬盘和选择自定义配置分区
创建所需标准分区
创建所需标准分区

以下是笔者测试机的分区情况截图,以供参考。

创建 /boot 分区
创建 /boot 分区
创建 / 根目录分区
创建 / 根目录分区
创建 swap 分区
创建 swap 分区
创建 vg_solusvm 分区
创建 vg_solusvm 分区

设置后完成系统安装。

完成 CentOS 7 安装

安装后用df -hT查看分区情况,其中之前创建的/vg_solusvm分区挂载点删除它。

[root@localhost ~]# df -hT
Filesystem                        Type      Size  Used Avail Use% Mounted on
/dev/sda2                         ext4      118G  1.2G  111G   2% /
devtmpfs                          devtmpfs  7.7G     0  7.7G   0% /dev
tmpfs                             tmpfs     7.7G     0  7.7G   0% /dev/shm
tmpfs                             tmpfs     7.7G  9.0M  7.7G   1% /run
tmpfs                             tmpfs     7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/sda1                         ext4      740M  131M  556M  19% /boot
/dev/mapper/vg_solusvm-vg_solusvm ext4      1.7T   77M  1.6T   1% /vg_solusvm
tmpfs                             tmpfs     1.6G     0  1.6G   0% /run/user/0

umount /vg_solusvm卸载挂载点,然后编辑/etc/fstab文件删除/vg_solusvm参数行。

之后vgdisplay查看 VG 分区名称,再vgremove vg_solusvm删除分区(替换你的 VG 名称)。

[root@localhost ~]# vgremove vg_solusvm
Do you really want to remove volume group "vg_solusvm" containing 1 logical volumes? [y/n]: y
Do you really want to remove active logical volume vg_solusvm/vg_solusvm? [y/n]: y
  Logical volume "vg_solusvm" successfully removed
  Volume group "vg_solusvm" successfully removed

fdisk -l查看 LVM 分区设备名。从输出结果可以看到在 sda5 上。

[root@localhost ~]# fdisk -l

[...]

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1574911      786432   83  Linux
/dev/sda2         1574912   253233151   125829120   83  Linux
/dev/sda3       253233152   286787583    16777216   82  Linux swap / Solaris
/dev/sda4       286787584  3907028991  1810120704    5  Extended
/dev/sda5       286789632  3907028991  1810119680   8e  Linux LVM

vgcreate -s 128M vg_solusvm /dev/sda5命令重新创建 VG 分区。创建后检查如下就可以了。

[root@localhost ~]# vgdisplay
  --- Volume group ---
  VG Name               vg_solusvm
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <1.69 TiB
  PE Size               128.00 MiB
  Total PE              13810
  Alloc PE / Size       0 / 0   
  Free  PE / Size       13810 / <1.69 TiB
  VG UUID               Zf5ODL-G2OZ-s4oI-Dl8D-epcn-r7o9-3aagdf

到此硬盘分区就完成了,按之前教程继续安装部署 SolusVM。

评论列表

  1. #1

    Hi, very nice website, cheers!
    ——————————————————
    Need cheap and reliable hosting? Our shared plans start at $10 for an year and VPS plans for $6/Mo.
    ——————————————————
    Check here: https://www.reliable-webhosting.com/

  2. #2

    My partner and I stumbled over here from a different page
    and thought I might check things out. I like what I see so now
    i am following you. Look forward to going over your web page yet
    again.

    Review my webpage :: Royal CBD

  3. #3

    Nice blog! Is your theme custom made or did you download
    it from somewhere? A theme like yours with a few simple adjustements would really make my blog stand out.

    Please let me know where you got your design. Thanks

    My web-site :: bola2000

  4. #4

    Great weblog heгe! Additionally үоur web site quite а bit
    uup fаst! What web host aге you using? Can I am getting your
    associate hyperlink tοo yoᥙr host? I desire my website loaded սp as quicky as yours lol

    Аlso visit my page – watch tenet 2020 free online

  5. #5

    Hi there, Idiscovered your blog by means of Google
    while looking for a similar matter, your web site came up, it appedars great.
    I’ve bookmarked itt in my google bookmarks.
    Hello there, simply turned into aware of your blog thru Google,
    and lpcated that it is really informative. I’m gonna watch out for brussels.
    I’ll be grateful if you happen to continue this in future.
    Numerous other folks can bbe benefited from your writing.Cheers!

    web site

  6. #6

    Hi there! I know this is kind of off topic but I was wondering which blog platform
    are you using for this website? I’m getting tired of WordPress because I’ve had problems with hackers
    and I’m looking at alternatives for another platform.
    I would be great if you could point me in the direction of a good platform.

    Feel free to visit my webpage :: คาสิโน Betway

  7. #7

    What’s up to all, how is all, I think every one is getting more from this site, and your views are good in support of new users.

    My web page poker players

  8. #8

    Hey! I’m at work browsing your blog from my new iphone!
    Just wanted to say I love reading your blog and look forward
    to all your posts! Carry on the fantastic work!

    Feel free to visit my web-site :: đánh bài online

  9. #9

    Have you ever thought about creating an e-book or guest authoring on other sites?
    I have a blog based upon on the same subjects you discuss
    and would love to have you share some stories/information. I know
    my visitors would value your work. If you are even remotely interested, feel free to shoot me an email.

    Feel free to surf to my blog post; ebony pooping in toilet dirtyshack

  10. #10

    Wow! This blog looks just like my old one! It’s on a entirely different subject but it has pretty much the same layout and design.
    Wonderful choice of colors!

    my web site pkvgames

  11. #11

    This paragraph presents clear idea designed for the new users of blogging,
    that really how to do blogging and site-building.

    Here is my homepage: imp source lion shower door

  12. #12

    It’s ɑll very thrilling.After months of kewn antіcipation, the day laѕtly arrives.
    It was 6 months iin the past that ԝe learne about Harlie’s chest mass.
    Thankfully, the chest mass had shrunk considerably,
    so that was placed on the backburner. Tһey put herr on hher belly for the
    first time. Ovеr time nonetheless, as Harⅼie will geet larger, she’s going to finalⅼy not ԝant either the trach оr the g-tube.
    They confirmed mе ѕome tips tο make it simpler on her with the trach.
    You will discover that thе trach means she has
    a hⅼe in her throat – under the vocal chords.
    The concеpt is, is that the more yyou slender down yοսr area of
    experience, find your pecific area of intеrеst, thee extra clarity
    you will have ⲟn who your goal ρurchasers are. The premiums will be
    dearer andd so they won’t ccover every lіttle thing that you just want, however for those with a pre-current well
    being condition, oг who have been tuгned down up to now, tһis іnsuгance can bee an enormous relief.
    Below we have listed out a coupⅼe of methods during which life coach certification accreditatіοn cann make your profession as a life coach brighter.
    A гise іn life expectancy ttо a hundred years iin the United States in tһis century wuld profoundly affect many aѕpects of ѕociety,forty one including thhe solvеncy of age-primarilybasеd entitlement prߋgrams and taxx ates leviedd
    bʏ the federal authorities.

    Also visit my web-site: happy

  13. #13

    Great photos, the shade and depth of the photos are breath-taking,
    they attract you in as though you belong of the make-up.

    Also visit my blog: เครดิตฟรี

  14. #14

    Excellent article. Keep posting such kind of info on your page.

    Im really impressed by it.
    Hey there, You have performed a great job. I will definitely digg it and in my view recommend to my
    friends. I am confident they’ll be benefited from this web site.

    Also visit my homepage :: php video cms

  15. #15

    Greetings from Ohio! I’m bored to death at work so I decided to
    check out your website on my iphone during lunch
    break. I enjoy the information you present here and can’t wait to take a look
    when I get home. I’m surprised at how fast your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyhow, good site!

    Here is my site: ecu programming

  16. #16

    This is my first time visit at here and i am in fact pleassant to read all at one
    place.

    Also visit my blog – ecu programming

  17. #17

    Unquestionably believe that that you said. Your favourite
    justification seemed to be on the net the easiest thing to understand of.
    I say to you, I definitely get irked at the same time as other people consider concerns that
    they plainly do not understand about. You controlled to hit the nail upon the highest as
    well as outlined out the whole thing with no need side-effects
    , people could take a signal. Will probably be back to get more.
    Thanks

    my site: ecu programming

  18. #18

    zovirax dose herpes https://www.herpessymptomsinmen.org/productacyclovir/

  19. #19

    Attractive portion of content. I just stumbled upon your weblog and in accession capital to
    claim that I get in fact enjoyed account your weblog posts.
    Anyway I will be subscribing on your augment and even I fulfillment you get admission to consistently rapidly.

    my page satellitefinancingservicesinc.com

  20. #20

    What’s up, I check your new stuff regularly. Your writing
    style is witty, keep up the good work!

    Here is my site :: xxx mom son fuck HD movies

  21. #21

    Big Comparison Is Here: Fake Rolex VS Real

    The most popular watch models of luxury watch brands are sold at very high prices.
    As such, many people are turning to affordable watch alternatives of luxury watch brands.

    At this point, a confusion arises. Replica and fake watch confusion … In this article,
    we will touch on fake Rolex VS
    real and discuss the curious details. You can learn the difference between these
    two types of watches by reading our article.

  22. #22

    Keep this going please, great job!

    Here is my web page; togel

  23. #23

    I have been surfing on-line greater than 3 hours nowadays, yet I by no means found any
    attention-grabbing article like yours. It is lovely worth sufficient for me.
    In my view, if all webmasters and bloggers made just right content as you probably
    did, the web can be a lot more helpful than ever before.

    Feel free to visit my page Robotic Solution

  24. #24

    online prescriptions for cialis https://buszcentrum.com/

  25. #25

    Since the admin of this site is working, no question very soon it will be famous, due
    to its quality contents.

    Feel free to visit my webpage: ask more

  26. #26

    buy careprost online in canada https://carepro1st.com/

  27. #27

    I do not know whether it’s just me or if perhaps everyone else experiencing problems with your site.
    It looks like some of the written text within your posts are running
    off the screen. Can someone else please comment and let me know if this is
    happening to them as well? This could be a issue
    with my browser because I’ve had this happen before. Appreciate it

    my website :: vietnam real estate market

  28. #28

    amoxicillin 500 mg prescription https://amoxycillin1st.com/

  29. #29

    hydroxychloroquine maker https://hydroxychloroquine.webbfenix.com/

  30. #30

    cvs pharmacy coupons for dapoxetine https://dapoxetine.confrancisyalgomas.com/

  31. #31

    dapoxetine reviews https://salemeds24.wixsite.com/dapoxetine

  32. #32

    I believe everything said made a lot of sense. But, consider this, suppose you typed a catchier post title?
    I mean, I don’t wish to tell you how to run your website, however what
    if you added a title that makes people want more? I mean SolusVM 节点服务器 CentOS
    7 分区教程(图文) – 主机点评网 is a little plain. You should glance at Yahoo’s
    front page and note how they create article headlines to get viewers to
    open the links. You might try adding a video or a related picture or two to grab readers
    interested about what you’ve got to say. In my
    opinion, it could bring your website a little livelier.

    Here is my web site … joker123 slot

  33. #33

    naltrexone fda label https://naltrexoneonline.confrancisyalgomas.com/

  34. #34

    ivermectin dose for scabies https://ivermectin.mlsmalta.com/

  35. #35

    Hey very nice blog!

    Here is my web page php classifieds script

  36. #36

    pinworm treatment ivermectin https://ivermectin.webbfenix.com/

  37. #37

    sildenafil 20 mg how it works http://droga5.net/

  38. #38

    1st gen cephalosporin https://keflex.webbfenix.com/

  39. #39

    pills like vidalista in store https://vidalista.mlsmalta.com/

  40. #40

    hydroxychloroquine buy online canada https://hydroxychloroquine.mlsmalta.com/

  41. #41

    Quality articles is the key to invite the viewers to pay a
    quick visit the site, that’s what this web page is providing.

    Here is my page: slot vivo

  42. #42

    Thank you for some other wonderful article.
    The place else could anybody get that type of info in such a perfect way of writing?
    I’ve a presentation subsequent week, and I’m on the search for such info.

    My website … 토토사이트

  43. #43

    vidalista for sale on ebay https://vidalista40mg.mlsmalta.com/

  44. #44

    dosage for dapoxetine for ed https://ddapoxetine.com/

发表评论

电邮地址用于 Gravatar 头像显示,不会被公开可见。