<br><br><b><i>Garrick Staples <garrick@usc.edu></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Thu, Jul 05, 2007 at 12:05:14PM -0700, Michael Mueller alleged:<br>> Hi,<br>> <br>> I have a centos 4 box i use for a file server (nfs and samba).  It has two hdd: hda is for the standard install; hdb is for /export/samba/netdisk0<br>> <br>> hda is lost - it just clicks now<br>> <br>> i think hdb is still good<br>> <br>> i can't figure out how i can remount the hdb disk in a new machine and retrieve the info from it;  i've scanned the LVM howto and googled some LVM topics, but nothing seems to address my particular need<br>> <br>> i was oblivious to LVM until now, so i did not save anything from the /etc dir on the hda disk<br>> <br>> can someone help me get a clue?<br><br>** assuming hdb (or a partition on hdb) is the sole PV in the VG with the<br>LV
 that contains the netdisk0 filesystem... **<br><br>The new box should have already scanned the volumes at boot so all you'd<br>really need to do is mount the filesystem.  But the logical order of<br>operations if you were starting from the ground up is something like<br>this:<br><br># lvm pvscan  <-- should see hdb as a PV in a VG<br># lvm vgscan<br># lvm lvscan  <-- tells you the LV name that has the fs<br># lvm lvchange -a y /dev/$VGNAME/$LVNAME  <-- activates the LV<br># mount /dev/$VGNAME/$LVNAME <mountpoint><br><br>Thanks for the suggestions.<br><br>I loaded a new hdd hda with 4.3 single cd server; then i powered down and connected the hdb from the failed system and rebooted; the hdb was not found using the commands above  so i was not able to mount<br><br>--<br>Mike<br></mountpoint></blockquote><br><p>
      <hr size=1>Get the Yahoo! toolbar and <a href="http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.php">be alerted to new email </a>wherever you're surfing.