Hi All
We have got a Ubuntu desktop used for some development, which is
crashed recently and not happy enough to boot. It has got the
following partition table.
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          31      248976   83  Linux
/dev/sdb2              32       30394   243890797+   5  Extended
/dev/sdb5              32        1346    10562706   82  Linux swap / Solaris
/dev/sdb6            1347       30394   233328028+  8e  Linux LVM


I booted with Ubuntu-Live CD and couldn't recover anything. Finally
attached the disk(via USB port) as a secondary disk on a already
running Ubuntu desktop.
Disk detected (/dev/sdb) OK, and installed lvm2 on running Ubuntu.
After i run though vgscan i could also see VG and logical volume.

There is only LV with a single PV.

[EMAIL PROTECTED]:~# pvscan
  PV /dev/sdb6   VG Ubuntu   lvm2 [222.52 GB / 0    free]
  Total: 1 [222.52 GB] / in use: 1 [222.52 GB] / in no VG: 0 [0   ]
[EMAIL PROTECTED]:~# lvdisplay
  --- Logical volume ---
  LV Name                /dev/Ubuntu/root
  VG Name                Ubuntu
  LV UUID                YEaMF6-sBBk-jvOb-IeM5-88gU-izeu-ic2iHu
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                222.52 GB
  Current LE             56964
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:0

I have got the following issues if somebody could help

1. How do I find the "file system type" on the defined LV, under the
Linux LVM partition? Mounting of LV always keep on saying you must
specify FS type, but it does't take anyone of ext2, ext3, reiserfs as
the file system type.
2. I have run though fsck.ext3, fsck.ext2, fsck.reiserfs but none of
them runs successfully
3. There are some bad blocks, can i mark them and still live with this
disk and if could recover some data?

Thanks and Regards
~yn

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to