March 11, 201016 yr yesterday i have add one hdd on my array all is fine but this morning i look the array and the new hdd need to be format i click to format i look and all the drive are being to format . arghhhhhh !!!!!! now i have all my data are gone to hell !!!!!! can i do something to retreive my data ? or can i use a tool ? i have powerdown the server thanks a lot
March 11, 201016 yr First. Do not write any new files to the disks, not until you try to recover the ones you lost by formatting the disk. Next, send an e-mail to lime-technology pointing them to this thread. Request this BUG get addressed and fixed. Then look at this thread: http://lime-technology.com/forum/index.php?topic=5544.0 You can probably recover your files by following the procedure as shown in the wiki to rebuild the file-tree and scan the entire set of blocks in the partition to un-delete files. Basically, you Stop samba /root/samba stop Un-mount the data disk (The file-system repair will not work on a mounted disk, so you must un-mount it) umount /dev/md1 umount /dev/md2 md1=disk1, md2=disk3, etc. Run reiserfsck with the --scan-whole-partition option reiserfsck -–scan-whole-partition -–rebuild-tree /dev/md1 reiserfsck -–scan-whole-partition -–rebuild-tree /dev/md2 md1 = disk1, md2 = disk2, etc. when prompted by reiserfsck program, answer "Yes" (capital "Y" lower case "es") After the rebuild-tree is completed, you can re-mount the disk mount /dev/md1 /mnt/disk1 mount /dev/md2 /mnt/disk2 etc... (make sure you mount md1 on disk1, md2 on disk2) Then, you can re-start samba with /root/samba start to see the results. Joe L.
March 11, 201016 yr The rebuild-tree will create a lost+found directory on the disk. The top-most folder names will be missing, replaced by substitute names given by the rebuild. Sub-directories should in most cases have their names. The scan-whole-partition will probably take 4 or more hours on a large disk.
March 13, 201016 yr Author it s took time 5 hours by hdd i have found a lot of datas !!!!! but i have hardware error on hdd 5 . i think a cluster dead there is an option in reiser command line to bypass a cluster dead ? thanks a lot to spend time to help me
Archived
This topic is now archived and is closed to further replies.