File System Issue on Duo is a Show Stopper

Please post any presales questions about the ReadyNAS product here.

Re: File System Issue on Duo is a Show Stopper

Postby sforscarlet » Sun Oct 18, 2009 3:04 pm

Having trouble getting the fuse/ext2fuse programs to work.

I have compiled the code, with changes suggested by skywalker, and have done the following....

modprobe fuse
vgscan
vgchange -ay c
mkdir /mnt/lvm
ext2fuse /dev/c/c /mnt/lvm

After that last command I get this error....
"/dev/c/c is to be mounted at /mnt/lvm
Bad magic number in super-block while trying to open /dev/c/c"
sforscarlet
ReadyNAS Newbie
 
Posts: 24
Joined: Wed Sep 09, 2009 8:50 pm
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby Skywalker » Tue Oct 20, 2009 12:20 pm

What does "dumpe2fs -h /dev/c/c" tell you?
User avatar
Skywalker
Jedi Council
 
Posts: 2951
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV

Re: File System Issue on Duo is a Show Stopper

Postby croatin » Tue Oct 20, 2009 7:27 pm

I've been trying to get this working on CentOS 5.3 and keep hitting roadblocks.

I can get to this part: "ext2fuse /dev/c/c /mnt/lvm". The output I get is:
/dev/c/c is to be moutned at /mnt/lvm
fuse-ext2: Can't read an inode bitmap while reading inode bitmap

Then it just sits there until I hit Ctrl-C

'lvs' spits out a lot of warnings/errors to the screen, such as:
/dev/mapper/c-c-missing_2_0: read failed after 0 of 4096 at 0: Input/output error
(the "at 0" number is usually different. I've seen 1487769894912 and 147769952256)

Also, several "Couldn't find device with uuid 'FOO'" which makes sense. 'vgdisplay' gives mostly the same errors.

Also of note the "vgchange -ay c" command doesn't work unless I add "--partial" at the end. Output from that is basically:
- 4 lines of "Couldn't find device with uuid..."
- LV c: segment 2 has inconsistent PV area 0
- Couldn't read all logical volumes for volume group c
- Couldn't find device with uuid ...
- Refusing activation of particla LV c. Use --partial to override.

I take it the RAID configuration is causing some sort of issue. I was under the impression from this thread that one could take a drive from the RAID and recover the data on that drive. Perhaps I was mistaken?
croatin
ReadyNAS Newbie
 
Posts: 1
Joined: Tue Oct 20, 2009 7:19 pm
ReadyNAS: NV+

Re: File System Issue on Duo is a Show Stopper

Postby sforscarlet » Wed Oct 21, 2009 5:34 am

Skywalker wrote:What does "dumpe2fs -h /dev/c/c" tell you?


"Bad magic number in super-block while trying to open /dev/c/c
Couldn't find valid filesystem superblock.

............

I have the HD I'm trying to access connected to an external HD enclosure over USB, not the readyNAS unit itself. Does that make any difference?
sforscarlet
ReadyNAS Newbie
 
Posts: 24
Joined: Wed Sep 09, 2009 8:50 pm
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby dbott67 » Wed Oct 21, 2009 5:39 am

sforscarlet wrote:I have the HD I'm trying to access connected to an external HD enclosure over USB, not the readyNAS unit itself. Does that make any difference?


The recovery steps assume that the drive is connected to a PC using SATA, not the ReadyNAS. I have no idea if using USB makes a difference.
User avatar
dbott67
ReadyNAS Fanatic
 
Posts: 8527
Joined: Mon Dec 31, 2007 9:20 am
Location: District 9
ReadyNAS: Pro

Re: File System Issue on Duo is a Show Stopper

Postby Skywalker » Wed Oct 21, 2009 10:15 am

USB should be fine, but it looks like you have bigger problems. The steps described in this thread address mounting a ReadyNAS X-RAID volume on a PC when the volume is good. It won't magically make a bad volume good. They should only be needed if the ReadyNAS system has a hardware failure, but the disks and the data on them are unaffected. If the ReadyNAS is working but it can't mount the volume, you should contact support.
User avatar
Skywalker
Jedi Council
 
Posts: 2951
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV

Re: File System Issue on Duo is a Show Stopper

Postby sforscarlet » Fri Oct 23, 2009 12:13 pm

I tried this with my other drive and get the inode error also....

I enter "ext2fuse /dev/c/c /mnt/lvm"

The output is....
/dev/c/c is to be moutned at /mnt/lvm
fuse-ext2: Can't read an inode bitmap while reading inode bitmap

I have com_err and ext2fs libraries, and didn't get any compile errors. Other suggestions for resolving this issue?
sforscarlet
ReadyNAS Newbie
 
Posts: 24
Joined: Wed Sep 09, 2009 8:50 pm
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby sforscarlet » Fri Oct 23, 2009 12:30 pm

btw....

'lvs' gives....
Code: Select all
 LV       VG         Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  LogVol00 VolGroup00 -wi-ao  48.19G                                     
  LogVol01 VolGroup00 -wi-ao   2.00G                                     
  c        c          -wi-a- 929.09G   


'vgdisplay' gives....
Code: Select all
--- Volume group ---
  VG Name               c
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               929.09 GB
  PE Size               32.00 MB
  Total PE              29731
  Alloc PE / Size       29731 / 929.09 GB
  Free  PE / Size       0 / 0   
  VG UUID               xpGSim-Z5y7-SqBt-EcYQ-h238-LmfL-mz6WWg
   
  --- Volume group ---
  VG Name               VolGroup00
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               50.19 GB
  PE Size               32.00 MB
  Total PE              1606
  Alloc PE / Size       1606 / 50.19 GB
  Free  PE / Size       0 / 0   
  VG UUID               TOAk7G-yjNd-vqJJ-o3R0-Al24-xgJt-paGhmT
sforscarlet
ReadyNAS Newbie
 
Posts: 24
Joined: Wed Sep 09, 2009 8:50 pm
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby dekkit » Tue Oct 27, 2009 11:46 pm

Hey, i've put together VMware image with debian 5 and all the patches from this forum thread, to enable others to read a ReadyNAS filesystem from any x86 PC (eg. windows).

Does anyone have an FTP or webspace that i can upload it to for testing and to make it available for others?
dekkit
ReadyNAS User
 
Posts: 50
Joined: Wed Oct 21, 2009 7:18 am
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby sforscarlet » Wed Oct 28, 2009 1:23 am

I have some space. Let me send you a pm
sforscarlet
ReadyNAS Newbie
 
Posts: 24
Joined: Wed Sep 09, 2009 8:50 pm
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby dekkit » Wed Oct 28, 2009 8:01 am

Better yet... i'm in the process of uploading the VMware to a mediafire fileserver (its 1.31GB in total, split into 13x 100MB files..the 14th one is ~50MB). The files should start appearing at the following location (i'm currently in the process of uploading them):

VMware of Debian 5 with Ext2FUSE
http://www.mediafire.com/?sharekey=009e ... 4ed87536eb

VMplayer
You will need to download a version of VMplayer for your operating system Win/Linux/Mac, this can be found
http://www.vmware.com/products/player/

Notes:
* You will need 8GB of free disk space once you have uncompressed the image
* Its will be easier to mount your ReadyNAS Duo HDD via a SATA to USE cable or External HDD Case (the provide access to it through VMplayer)
* You will still need to execute some of the terminal commands listed above to mount the drive (take precaution so you don't accidently blow away your data)
* This VMware can access other windows file shares and can also be configured to host windows shares (see the docs for debian for more info on this)

Please note the original VMware image was found http://www.vmplanet.net/node/85 (before the various patches were applied - so feel free to drop them a donation), if you can improve this image by way of a script to make it even easier to use for us 'non-linux users' then please do so and share it with the rest of us :)

This is a result of following the instructions in this and other discussions and also googling my way through the rest - so any testing and feedback is most welcome. Hopefully the end result is a decent ReadyNAS recovery toolkit we can all use fair easily for when that dreaded time eventually comes.

dek

29/10 - All 14 x files have now been uploaded to mediafire.com

Direct links are as follows:
http://www.mediafire.com/file/jzm2ytmh3 ... NAS-Vmware Recovery.part01.rar
http://www.mediafire.com/file/yhmduwmjz ... NAS-Vmware Recovery.part02.rar
http://www.mediafire.com/file/qtynnxzw2 ... NAS-Vmware Recovery.part03.rar
http://www.mediafire.com/file/udgu4m4et ... NAS-Vmware Recovery.part04.rar
http://www.mediafire.com/file/yziwozyom ... NAS-Vmware Recovery.part05.rar
http://www.mediafire.com/file/jmbjzixqj ... NAS-Vmware Recovery.part06.rar
http://www.mediafire.com/file/yndzu0ytr ... NAS-Vmware Recovery.part07.rar
http://www.mediafire.com/file/nwgmhqwgy ... NAS-Vmware Recovery.part08.rar
http://www.mediafire.com/file/xl4c2jz22 ... NAS-Vmware Recovery.part09.rar
http://www.mediafire.com/file/uzzmtyho4 ... NAS-Vmware Recovery.part10.rar
http://www.mediafire.com/file/hgokkjomh ... NAS-Vmware Recovery.part11.rar
http://www.mediafire.com/file/5mmyvyjyy ... NAS-Vmware Recovery.part12.rar
http://www.mediafire.com/file/yezhmjdna ... NAS-Vmware Recovery.part13.rar
http://www.mediafire.com/file/xtqmyymjc ... NAS-Vmware Recovery.part14.rar
Last edited by dekkit on Thu Oct 29, 2009 5:10 am, edited 1 time in total.
dekkit
ReadyNAS User
 
Posts: 50
Joined: Wed Oct 21, 2009 7:18 am
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby saxguy » Wed Oct 28, 2009 1:50 pm

Hi dekkit,

thanks for this I wil try it to test a drive that is part of a broken mirror and part of a questionable NAS DUO

re: Its will be easier to mount your ReadyNAS Duo HDD via a SATA to USE cable or External HDD Case (the provide access to it through VMplayer)

So I couldn't just use an available SATA cable set in my desktop to hook my seagate 1TB drive to to read with your image?
saxguy
ReadyNAS Newbie
 
Posts: 34
Joined: Sun Nov 09, 2008 12:01 am

Re: File System Issue on Duo is a Show Stopper

Postby dekkit » Wed Oct 28, 2009 10:20 pm

saxguy wrote:Hi dekkit,

thanks for this I wil try it to test a drive that is part of a broken mirror and part of a questionable NAS DUO

re: Its will be easier to mount your ReadyNAS Duo HDD via a SATA to USE cable or External HDD Case (the provide access to it through VMplayer)

So I couldn't just use an available SATA cable set in my desktop to hook my seagate 1TB drive to to read with your image?


Hi Saxguy, the VMplayer user interface more easily caters for transferring control of a usb device from the host to the VMware OS (eg via a SATA to USB cable or USB HDD case) and is the quickest/simplest method.

To mount an internal physical HDD is a lot more complex - from a quick google search you would have to experiment with the following links and implement the following hacks:
http://www.vmware.com/support/ws55/doc/ ... lboot.html
http://imrannazar.com/Running-a-Windows ... -in-VMware

alternatively you could convert the vm disks to physical partitions using http://superuser.com/questions/9350/con ... -partition and try that approach

... but doing so is starting to make this process quite complex again (unless you can find a simple solution over at the VMware forums)
dekkit
ReadyNAS User
 
Posts: 50
Joined: Wed Oct 21, 2009 7:18 am
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby dekkit » Sat Oct 31, 2009 8:16 pm

Looking for feedback from those that downloaded the VMware debian image to test? Does it work for you? (noting that you still need to manually mount the drive via Ext2FUSE)?

Where possible you should use the first disk when conducting your tests

Dek
dekkit
ReadyNAS User
 
Posts: 50
Joined: Wed Oct 21, 2009 7:18 am
ReadyNAS: Duo

Re: File System Issue on Duo is a Show Stopper

Postby Zeta Phoenix » Mon Nov 02, 2009 12:23 am

dekkit wrote:Looking for feedback from those that downloaded the VMware debian image to test? Does it work for you? (noting that you still need to manually mount the drive via Ext2FUSE)?

Where possible you should use the first disk when conducting your tests

Dek

I just downloaded all the images, but could not unpack them. They seem to be split, and are not auto-combining. How did you split them?

-Jon
Zeta Phoenix
ReadyNAS Newbie
 
Posts: 7
Joined: Sat Oct 31, 2009 11:55 pm
ReadyNAS: Duo

PreviousNext

Return to Presales



Who is online

Users browsing this forum: No registered users and 4 guests