Posted: Sat Oct 16, 2010 8:31 pm Post subject: LVM Setup on SMS
All the info about this how to is documented already by slackware team at
http://sms.it-ccs.com/isos/SMS-Current/README_LVM.TXT
but let's make it as simpler as we can, since some users were having problems with lvm setup.
Once you boot with SMS.Native.CD-Install-1.x.x.iso before you run setup
you need to partition your disk.
On this example I used
Code:
/dev/sda1 * 1 12 96358+ 83 Linux
/dev/sda2 13 1957 15623212+ 83 Linux
/dev/sda3 1958 2088 1052257+ 82 Linux swap
where sda2 used for lvm setup.
1. Create physical volume
Code:
pvcreate /dev/sda2
2. Create Volume Group with name sms
Code:
vgcreate sms /dev/sda2
3. Create Logical Volume for root partition
Code:
lvcreate -L 8G -n root sms
4. Create Logical Volume for home partition with remaining space
Code:
lvcreate -l 100%FREE -n home sms
5. Scan disks for Logical Volume Groups
Code:
vgscan --mknodes
6. Activate Logical Volume Groups
Code:
vgchange -ay
Start setup and choose your swap partition as usual, and choose as root partition /dev/sms/root, for home /dev/sms/home and finally choose as boot partition /dev/sda1.
Ignore partition /dev/sda2 and continue with setup.
When it's time to choose a kernel choose a generic one, since huge kernels complains with initrd images, although they may work just fine.
When setup finish don't reboot your server, as lilo is not installed
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum