<b><i>"gLaNDix (Jesse Kaufman)" &lt;glandix@lloydnet.org&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Tom+Dale wrote:<br><br>&gt; Right, I believe that we grown the volume group to include the new <br>&gt; drive.  I did not say that in my first message because LVM is all new to <br>&gt; me so I'm not really sure how far we got, technically.  Functionally, I <br>&gt; know that we gave up before figuring out why MythTV only recognized the <br>&gt; original disk space (excluding the new drive).<br><br>that makes sense that myth (and the os in general) would not see the <br>space on that drive yet, since the logical volume has grown, but the <br>filesystem has not yet ... think of it as kinda similar to the <br>"standard" partitioning schemes ... let's say you have a 100GB drive and <br>create a 75GB partition on it ... that 25GB left over is still there, <br>but since it's unpartitioned
 space, nothing will "see" it ...<br><br><br>&gt; As newbies struggling to get a clue in the wee hours of Saturday <br>&gt; morning, we adjourned at that point, planning to do more research <br>&gt; later.  When I checked things Saturday afternoon, I discovered the <br>&gt; clicking sound of the new drive and suspected other trouble.<br><br>yeah, i know how that goes ... until this weekend, all i knew about lvm <br>was copy/paste of commands from http://www.tldp.org/HOWTO/LVM-HOWTO (a <br>very good resource, by the way).  when i had the missing physical volume <br>error, i googled and that's how i found out about the --removemissing <br>argument to vgreduce.<br><br>you can actually run 'vgreduce -t [volumeGroup] /dev/sda' (-t means <br>"test") and it will tell you if it can't remove the physical volume <br>because it is still used... you can also run 'vgreduce -t <br>--removemissing [volumeGroup]' and it will tell you what exactly will be <br>removed (according to the man
 page)...<br><br>also, according to the man page, it mentions a '--partial' option which <br>will do it's best to use the physical volumes it is able to find and <br>will use /dev/ioerror in place of any missing drives ... that may let <br>you be able to at least access your data ... maybe 'vgchange -ay <br>--partial [volumeGroup]' will let you activate it to make sure all your <br>data is there and do any backups?  if it's all there, you could most <br>likely replace /dev/sda with a new drive and give it the old drive's <br>UUID (make sure to write down what it is before doing anything!)  it's <br>definitely worth a shot! :)<br><br>anyway, i'm in no way claiming to be an expert on this ... after this <br>weekend, i had to read and read and read all the man pages and docs on <br>lvm to fix my problem and i at least think i have a decent understanding <br>... remember, almost any lvm command will accept the --test/-t option so <br>you can do a "dry-run" to see what might
 have happened if you did it for <br>real ...<br><br>when googling, i ran across this nice "simple introduction to lvm" ... <br>you might find it helpful, too: <br>http://www.debian-administration.org/articles/410<br><br>-g-<br>_______________________________________________<br>mythtv-users mailing list<br>mythtv-users@mythtv.org<br>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br></blockquote>Well, that nasty thing called "work" got in the way of my troubleshooting until now.&nbsp; I have tried a few of your suggestions with what appears to be limited success, though I cannot be sure.<br><br>First, I tried "vgreduce --removemissing VolGroup00" which seemed to work.&nbsp; Then, I tried "vgchange -ay --partial VolGroup00" which also appeared to complete successfully.&nbsp; Next I tried "ls /video" which reported nothing in the directory (this would not be correct if the volume group was working).&nbsp; Next, I tried:<br><br>[root@mythserver ~]# mount -a<br>mount:
 special device /dev/VolGroup00/LogVol00 does not exist<br><br>Now I didn't know what else to try so I guessed at a few commands without any succes. I'm floundering here...can anyone suggest anything else to try?&nbsp; Did I somehow lose the data?&nbsp; It seems to me that I should be able to access it still.&nbsp; I feel like I just need to tell the system how to find the logical volume LogVol00.&nbsp; It doesn't show up under /dev, but I don't know if that matters.<br><br>Thanks everyone!<br><br>Other commands and responses that I got today:<br><br>[root@mythserver ~]# vgchange -a y VolGroup00<br>&nbsp; 0 logical volume(s) in volume group "VolGroup00" now active<br><br>[root@mythserver ~]# pvdisplay<br>&nbsp; --- Physical volume ---<br>&nbsp; PV Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda5<br>&nbsp; VG Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VolGroup00<br>&nbsp; PV
 Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 66.12 GB / not usable 0&nbsp;&nbsp; <br>&nbsp; Allocatable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes <br>&nbsp; PE Size (KByte)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br>&nbsp; Total PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16926<br>&nbsp; Free PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16926<br>&nbsp; Allocated PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>&nbsp; PV UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 317l2C-oay1-TWFG-5NTX-XJS3-vLal-Xh5bBL<br>&nbsp;&nbsp; <br>&nbsp; --- Physical volume ---<br>&nbsp; PV Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hdb<br>&nbsp; VG Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 VolGroup00<br>&nbsp; PV Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 298.09 GB / not usable 0&nbsp;&nbsp; <br>&nbsp; Allocatable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes <br>&nbsp; PE Size (KByte)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br>&nbsp; Total PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 76311<br>&nbsp; Free PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 76311<br>&nbsp; Allocated PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>&nbsp; PV UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nfLxS1-0u3t-5Zr9-57iu-1oZe-Bkkd-75SERQ<br><br>[root@mythserver ~]# vgscan<br>&nbsp; Reading all physical volumes.&nbsp; This may take a while...<br>&nbsp; Found volume group "VolGroup00" using metadata type lvm2<br><br>[root@mythserver ~]# vgck -vv
 VolGroup00<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Setting global/locking_type to 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Setting global/locking_dir to /var/lock/lvm<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File-based locking enabled.<br>&nbsp;&nbsp;&nbsp; Using volume group(s) on command line<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locking /var/lock/lvm/V_VolGroup00 RB<br>&nbsp;&nbsp;&nbsp; Finding volume group "VolGroup00"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/sda: No label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda1: No label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda2: No label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda3: No label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda5: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hdb: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda5: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hdb: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda5: lvm2 label
 detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hdb: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda5: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hdb: lvm2 label detected<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unlocking /var/lock/lvm/V_VolGroup00<br><br><p>&#32;
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.