ahood
November 28th, 2007, 09:17 AM
Hi All,
I am planning on moving from KnoppMyth to Mythbuntu. I have setup two drivers with LVM and I am concerned about how to restore the LVM so that Mythbuntu can see it.
Below are commands I think I need to run in order to restore the LVM partition (called vg).
It would be much appreciated if someone confirmed that the commands below are correct or if they need revising?
All commands below will be done as root.
First is to confirm volume groups and backup fstab
vgscan
pvdisplay
mv /etc/fstab /etc/fstab.orig
nano /etc/fstab
Add the following lines to fstab
File System
/myth auto defaults.auto 0 2
Processes
/dev/vg/myth /myth auto defaults.auto 0 2
Lastly, mount the LVM partition
mount /dev/vg/myth /myth
update-rc.d lvm start 26 S . stop 82 1
When do I execute the above commands?
Is there anything else I should know before doing this?
If successful, I would then restore the mysql table of programming data by executing the following command.
mysql -u mythtv -p mythconverg < recorded.sql
Again, any help would be greatly appreciated.
Al
I am planning on moving from KnoppMyth to Mythbuntu. I have setup two drivers with LVM and I am concerned about how to restore the LVM so that Mythbuntu can see it.
Below are commands I think I need to run in order to restore the LVM partition (called vg).
It would be much appreciated if someone confirmed that the commands below are correct or if they need revising?
All commands below will be done as root.
First is to confirm volume groups and backup fstab
vgscan
pvdisplay
mv /etc/fstab /etc/fstab.orig
nano /etc/fstab
Add the following lines to fstab
File System
/myth auto defaults.auto 0 2
Processes
/dev/vg/myth /myth auto defaults.auto 0 2
Lastly, mount the LVM partition
mount /dev/vg/myth /myth
update-rc.d lvm start 26 S . stop 82 1
When do I execute the above commands?
Is there anything else I should know before doing this?
If successful, I would then restore the mysql table of programming data by executing the following command.
mysql -u mythtv -p mythconverg < recorded.sql
Again, any help would be greatly appreciated.
Al