Title: JFS setup Subject: hope this helps #--------------------------- # My JFS setup #--------------------------- I had already made the volume group when I setup the system. I had created a / with 6gb and created a bunch of other reiserfs partitions, which I added to the volume group "system" #--------------------------- #Create the logical volumes: #--------------------------- lvcreate -L 1000M -n home system mkreiserfs /dev/system/home lvcreate -L 3000M -n opt syslvtem mkreiserfs /dev/system/opt lvcreate -L 7000M -n usr system mkreiserfs /dev/system/usr lvcreate -L 2000M -n music system mkreiserfs /dev/system/music lvcreate -L 2000M -n nt4 system mkreiserfs /dev/system/nt4 lvcreate -L 2000M -n win2k system mkreiserfs /dev/system/win2k #------------------------------------------- #Copy the files to the new partitions: #------------------------------------------- mkdir /mnt/opt mount /dev/system/opt /mnt/opt cp -rp /opt/* /mnt/opt/ mkdir /mnt/home mount /dev/system/home /mnt/home cp -rp /home/* /mnt/home/ mkdir /mnt/usr mount /dev/system/usr /mnt/usr cp -rp /usr/* /mnt/usr/ mkdir /music mount /dev/system/music /music cp -rp /mnt/hde1/home/jstile/music/* /music/ mkdir /nt4 chown -R jstile:users /nt4 mount /dev/system/nt4 /nt4 scp -r root@webber:/mnt/hda1/nt4/* /nt4/ mkdir /win2k chown -R jstile:users /win2k mount /dev/system/win2k /win2k scp -r root@webber:/mnt/hda1/win2k/* /win2k/ #----------------------------------------------- #Setup the fstab so that stuff mounts correctlyjjj #----------------------------------------------- vi /etc/fstab j /dev/system/home /home reiserfs defaults 1 1 /dev/system/opt /opt reiserfs defaults 1 1 /dev/system/usr /usr reiserfs defaults 1 1 /dev/system/music /music reiserfs defaults 1 1 #----------------------------------------------- #Move the old dirs out of the way #----------------------------------------------- cd / mv /opt /opt.old mkdir /opt mv /usr /usr.old mkdir /usr #------------------------------------------------ #Reboot and pray it works. #------------------------------------------------ reboot #------------------------------------------------ # after doing this, I ended up with corrupted # lilo boot font, so I reinstalled these, and rebooted #----------------------------------------------------- [i] aaa_base SuSE Linux base package [i] aaa_dir SuSE Linux directory structure [i] aaa_skel SuSE Linux Default User [i] eazy Compatibility links [i] lilo #-------------------------------------------------- # I ran out of space in home, and need to extend the file system #-------------------------------------------------- # first find out what partitions are members of the volume group # that contains this logical volume. vgdisplay -v /dev/system # I see one partition that has space, /dev/hda9 lvextend -L +200 /dev/system/home /dev/hda9 #---------------------------------------------------