[SOLVED] How does one add drives to an existing LVM
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
How does one add drives to an existing LVM
I am trying to set up a system for an ftp server. I have one ide drive with base system installed. There are four sata drives installed which I tried to set up as LVM. After following the steps from another post. I managed to get LVM working but only with one of the sata drives. The sata drives show up as SDA, SDB, SDC, and SDD. only SDA is in the LVM. All are configured as 8e filetype.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Sorry for the delay. Had to move to a more pressing problem. here is the output of pvdisplay:
Code:
--- Physical volume ---
PV Name /dev/sda1
VG Name ftp
PV Size 233.76 GB / not usable 2.90 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 59841
Free PE 0
Allocated PE 59841
PV UUID mTz58H-AweV-FKat-wtOQ-go5V-FUnz-yk2zXH
--- Physical volume ---
PV Name /dev/sdb1
VG Name ftp
PV Size 233.76 GB / not usable 2.90 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 59841
Free PE 59841
Allocated PE 0
PV UUID K2Gynw-2K1g-lAgF-lHqy-E4Nh-MuYm-qcSEas
--- Physical volume ---
PV Name /dev/sdc1
VG Name ftp
PV Size 233.76 GB / not usable 2.90 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 59841
Free PE 59841
Allocated PE 0
PV UUID rZG0VG-gFBc-WPW0-hRJq-sZSW-k43n-s3ExmZ
--- Physical volume ---
PV Name /dev/sdd1
VG Name ftp
PV Size 233.76 GB / not usable 2.90 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 59841
Free PE 59841
Allocated PE 0
PV UUID FJRMJb-32iK-mSDw-Xiq0-zCa4-bMsR-RuAHhm
All your physical volumes (/dev/sda1, /dev/sdb1, /dev/sdc1 and /dev/sdd1) have been assigned to Volume Group "ftp". You could also have seen it by running:
Code:
vgdisplay
So I'm not sure what you meant when you said:
Quote:
I still only seem to have one drive in the LVM.
To which drive are you referring?
By the way, this presentation of LVM might be of interest to you: lvm2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.