LinHES Forums http://forum.linhes.org/ |
|
LVM1 on R4V9 vs. LVM2 on R5A16 and vgconvert http://forum.linhes.org/viewtopic.php?f=6&t=5305 |
Page 1 of 1 |
Author: | marc.aronson [ Tue Jul 12, 2005 4:17 am ] |
Post subject: | LVM1 on R4V9 vs. LVM2 on R5A16 and vgconvert |
If you created your initial LVM group under Knoppmyth R4 and are adding a new voume after upgrading to R5A16 you may encounter an error when you issue the pvcreate command specified in step 12 of the Knoppmyth Wiki "LVMHowTo" guide. The issue appears to be that R4 defaulted to LVM1 and R5A16 defaults to LVM2. To resolve this you can add the "-M1" option to force the new volume to LVM1, ie: Code: pvcreate -M1 /dev/hda4
Be sure to replace "/dev/hda4" with the actual partiiton name you are adding to your established LVM group. Finally, I have 3 questions: 1. Has anyone tried to use "vgconvert" to convert their LVM group from LVM1 to LVM2? 2. Any experience on which is better -- to convert to LVM2 vs. force new volumes to be in LVM1? Since R5A16 selected LVM2 as the default, I'm guessing this is a prefered choice, but just wanted to be sure. 3. I tried to edit the knoppmyth wiki LVMHowTo guide with the info about the "-M1" flag, but I was unable to read the picture near the "save" button. I hit refresh several times - it always produces an error on the page under internet explorer. Anyone familiar with this problem? THanks! Marc |
Author: | ceenvee703 [ Tue Jul 12, 2005 6:11 am ] |
Post subject: | |
Marc: I edited the LVM page to incorporate your hint about R4 vs R5. I also saw the problem you mentioned when viewing the security image with Internet Exploder. I used Firefox to make the edit. Not sure why that would happen--sometimes that's due to a mismatch between what the graphic's extender says it is and what it really is (i.e. naming a GIF file "image.jpg"). Photoshop seemed to think it really was a JPEG file, though. |
Author: | Xsecrets [ Tue Jul 12, 2005 8:12 am ] |
Post subject: | |
I wish you guys would let me know things like this sooner. I will look into this. I don't ever use IE, so I never noticed. it works fine in firefox konq and opera. I may just back it off to a checkbox that would make things easier on the editors and still at least require the spammers to change their scripts. |
Author: | ceenvee703 [ Tue Jul 12, 2005 10:41 am ] |
Post subject: | |
Xsecrets wrote: I wish you guys would let me know things like this sooner.
This is definitely the first time I've tried updating a wiki page since the new lockdown went into place. If it can work with IE that's fine, but I don't think it's a huge deal to run Firefox instead (which is definitely my preference, unfortunately work has dictated IE only). |
Author: | marc.aronson [ Tue Jul 12, 2005 10:59 am ] |
Post subject: | |
X, it's the first time I've encountered it also -- didn't think to send u a private message. It would be useful for me if it was resolved. Let me know if you want me to try something. |
Author: | virga42 [ Tue Sep 06, 2005 10:43 pm ] |
Post subject: | Upgrading to R5A16 |
I recently upgraded from R5A15.1 to R5A16. In my old system I had created a logical volume (what I assume was LVM1). After upgrading I had problems mounting that volume. I tried a bunch of different ways (using vgscan, trying to do pvcreate or lvcreate -- I would always hit a wall that there was no device /dev/vg) to no avail. What I did find that worked was: # vgchange -a y my_volume_group I was then able to mount /dev/vg /myth (of course change mount point to your needs). Hope this helps. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |