[linux] nas hdd crash

Fred fred.d op xs4all.nl
Do Sep 15 10:08:27 CEST 2016



> We proberen het gewoon nogmaals.
>
> # losetup --find --show --read-only --offset $((2048*512)) /dev/sdb5
>
> Als het goed is, krijg je /dev/loop0 als output?
/dev/loop0

>
> # lvdisplay -am
   --- Logical volume ---
   LV Path                /dev/vg1001/lv
   LV Name                lv
   VG Name                vg1001
   LV UUID                ALEo0H-smDv-ywwl-sae3-CRVX-g0Zd-oHHq7t
   LV Write Access        read/write
   LV Creation host, time ,
   LV Status              NOT available
   LV Size                1,81 TiB
   Current LE             475752
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto

   --- Segments ---
   Logical extents 0 to 475751:
     Type                linear
     Physical volume     /dev/loop0
     Physical extents    0 to 475751


>
> Deze laat zien wat de VG Name, LV Name en het Path is. Vervolgens wat
> Paul schrijft over deze eerst available maken.
>
> # lvchange --available y --permission r vg1001/lv
# lvchange --available y --permission r vg1001/lv
   /dev/loop0: write failed after 0 of 4096 at 4096: Bewerking niet 
toegestaan
   WARNING: Failed to write an MDA of VG vg1001.
   Failed to write metadata area header
# mount /dev/vg1001/lv /media/vg1001/lv
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg1001-lv,
        missing codepage or helper program, or other error

        In some cases useful info is found in syslog - try
        dmesg | tail or so.

> De directory's zijn reeds gecreƫerd, dus ...
>
> # mount /dev/vg1001/lv /media/vg1001/lv
> # cd /media/vg1001/lv
> # ls -l
>
> Met vriendelijke groet,
>
>
> Frans van Berckel

Fred


More information about the Linux mailing list