You are not logged in.
Hi,
I have a regular system which I usually work from, and I created a lvm partition using that system to store files in. I have another Arch system on the same harddrive (different partition) and I would like to know how I can access the lvm partition using the second system.
I have the following in my new system
/dev/sda8 swap swap defaults 0 0
/dev/sda9 / ext3 defaults 0 1
/dev/sda5 /mnt/arch ext3 defaults 0 0
/dev/sda2 /mnt/boot ext2 defaults 0 0
/dev/sda6 /mnt/arch-home reiserfs defaults 0 0
/dev/ravilvg/lvmpartition /mnt/lvmpartition reiserfs defaults,users 0 0
When I try to mount '/mnt/lvmpartition', I get
[root@myhost ravi]# mount /mnt/lvmpartition/
mount: special device /dev/ravilvg/lvmpartition does not exist
I have put USELVM="yes" in my rc.conf, and on bootup I get the message that Device mapper is not in the kernel. 'lsmod' shows the dm_mod module is not loaded, but loading the module and running the mount command still does not work.
Here are the outputs of the lvm commands
[root@myhost ravi]# lvm pvscan
PV /dev/sda10 VG ravilvg lvm2 [24.20 GB / 0 free]
Total: 1 [24.20 GB] / in use: 1 [24.20 GB] / in no VG: 0 [0 ]
[root@myhost ravi]# lvm vgscan
Reading all physical volumes. This may take a while...
Found volume group "ravilvg" using metadata type lvm2
[root@myhost ravi]# lvm lvscan
inactive '/dev/ravilvg/lvmpartition' [24.20 GB] inherit
Thanks,
Ravster
Offline
Are you using a stock kernel? Check your /etc/mkinitcpio.conf for LVM and RAID support. It seems strange to me there's no LVM support during boot up.
I don't know the exact LVM commands by heart to activate the volumes. I'll check tonight to see if I can help you out.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Hi,
You were right, the solution was to simply activate the volume
What I did was
lvm lvchange -ay /dev/ravilvg/lvmpartition
The lvm partition is now accesible from both systems
Thanks for your help,
Ravster
Offline