Thursday, November 27, 2008

finnix a debian testing distro with lvm2

http://www.finnix.org/

wget http://www.finnix.org/releases/92.0/finnix-92.0.iso

Ok:

If we want to use lvm2 we need to be able to boot from a live distro and access the data.
Will we find this with knoppix/kanotix etc?

we need to be able to do

pvscan
say we have a volume group data on a physical volume 'data'
vgchange -ay data

(if it was formally exported before from old system (fat chance) then you can do
vgimport data

mkdir /data
then
mount /dev/data/ /data
say to load the information
see
http://tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html

-----------
2. Lets say to start a new physicalvolume and create a volume group

vgcreate volgroup1 /dev/sda1

vgdisplay

lvcreate -L5G -n logicalvolume
mkfs.ext3 /dev/volgroup1/logicalvolume

then can mount it

mount /dev/volgroup1/logicalvolume /data

say.