Hi,
I accidentally deleted some stuff of my DS1511+ and I am now trying to recover it.
Found extundelete to be really helpful and I made some headway but then I got stuck:
I built extundelete on Ubuntu 10.10 and then I booted up my NAS using a USB live image, and proceeded with installing mdadm to use the RAID5.
I basically used this guide to get my system partition mounted: http://forum.synology.com/wiki/index.ph ... tibay_NASs
And this guide:
http://webcache.googleusercontent.com/s ... google.com
And then this to get my "volume1" RAID5 mounted as /dev/md/2: mdadm --assemble --scan
However, when running extundelete, it fails with a strange error:
root@ubuntu:/home/zenith/extundelete# ./src/extundelete /dev/md2 --restore-all
./src/extundelete: failed to read-only open device "/dev/md2": Error code 2133571395
It seems like this error code means: EXT2_ET_UNSUPP_FEATURE
Mount says this:
root@ubuntu:/home/zenith/extundelete# mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sdb1 on /cdrom type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sdh4 on /media/d43a567b-78ab-4e40-8a2d-e3a94379ae87 type ext3 (rw,nosuid,nodev,uhelper=udisks)
(Booted off a 10.10 Live CD created on a USB stick)
cat /proc/mdstats has:
Personalities : [raid6] [raid5] [raid4] [raid1]
md2 : active raid5 sdc3[0] sdf3[4] sdg3[5] sde3[3] sdd3[1]
7795173120 blocks super 1.1 level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
md0 : active raid1 sdc1[0] sdg1[4] sdf1[3] sde1[2] sdd1[1]
2490176 blocks [5/5] [UUUUU]
unused devices: <none>
I am running DSM 3.0, unsure of which version, though. From running dumpe2fs I get this:
dumpe2fs 1.41.12 (17-May-2010)
Filesystem volume name: 1.41.10-1358
Does that mean that the filesystem var generated using e2fsprog from 1.41.10, DSM 3.0 rev1358?
Also, I see that md2 has these flags:
Filesystem features: has_journal ext_attr resize_inode filetype extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
It has 64bit, whereas md0 does not.
extundelete works on md0, but not md2:
root@ubuntu:/home/zenith/extundelete# sudo ./src/extundelete --journal --superblock /dev/md0
WARNING: Extended attributes are not restored.
Journal Super Block:
Signature: 0xc03b3998
Block type: Superblock version 2
Sequence Number: 0
Journal block size: 4096
Number of journal blocks: 16384
Journal block where the journal actually starts: 1
Sequence number of first transaction: 13890
Journal block of first transaction: 0
Error number: 0
Compatible Features: 0
Incompatible features: 1
Read only compatible features: 0
Journal UUID: 0x91b44588103f41a5bb7dd08d493b0903
Number of file systems using journal: 1
Location of superblock copy: 0
Max journal blocks per transaction: 0
Max file system blocks per transaction: 0
IDs of all file systems using the journal:
1. 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
root@ubuntu:/home/zenith/extundelete# sudo ./src/extundelete --journal --superblock /dev/md2
./src/extundelete: failed to read-only open device "/dev/md2": Error code 2133571395
It seems like e2fsprogs has done something that extundelete does not like/are not able to read.
Any suggestions besides pinging the extundelete author?
Cheers



