debugfs on RAID volume
Модератор: Модераторы
1 сообщение
• Страница 1 из 1
- unsigned_int
- Новый участник
- Сообщения: 1
- Зарегистрирован: 28 июл 2005, 11:59
Hello,
Unfortunately I am unable to post in russian correctly so here is my english post
I have removed a number of files yesterday on one of my boxes (RH 7.3)
and now would like to recover them. I have used debugfs before without a
problem but now it's different situation: actually there are 2 HDD's and
RAID 1 between them. So the output of mount looks like this:
...
/dev/md0 on / type ext3 (rw)
/dev/md1 on /alpha type ext3 (rw,usrquota)
...
deleted files are under /alpha. The output of /proc/mdstat:
md0 : active raid1 hda1[0]
5116544 blocks [2/1] [U_]
md1 : active raid1 hda2[0]
30716160 blocks [2/1] [U_]
I have removed one of HDD's to recover files from, while another HDD is
still running. So back to debugfs:
#/sbin/debugfs /dev/hda2
debugfs 1.27 (8-Mar-2002)
debugfs: lsdel
...
2046601 0 20660 0 1/ 1 Tue Jul 19 18:27:11 2005
...
2964 deleted inodes found.
/sbin/debugfs /dev/md1
debugfs 1.27 (8-Mar-2002)
debugfs: lsdel
...
2046601 0 20660 0 1/ 1 Tue Jul 19 18:27:11 2005
...
2964 deleted inodes found.
all inodes are dated Jul 19 while I have deleted my files yesterday, so
seems debugfs can't work directly with /dev/md1, neither with /dev/hda2.
What is the right way to recover files in such situation? I have tried
to recover files using R-Linux for windows and it discovered deleted
folders fine while failed on deleted files inside this folders. If
debugfs can't do the job, which utility can be used?
Thanks in advance,
George
Unfortunately I am unable to post in russian correctly so here is my english post
I have removed a number of files yesterday on one of my boxes (RH 7.3)
and now would like to recover them. I have used debugfs before without a
problem but now it's different situation: actually there are 2 HDD's and
RAID 1 between them. So the output of mount looks like this:
...
/dev/md0 on / type ext3 (rw)
/dev/md1 on /alpha type ext3 (rw,usrquota)
...
deleted files are under /alpha. The output of /proc/mdstat:
md0 : active raid1 hda1[0]
5116544 blocks [2/1] [U_]
md1 : active raid1 hda2[0]
30716160 blocks [2/1] [U_]
I have removed one of HDD's to recover files from, while another HDD is
still running. So back to debugfs:
#/sbin/debugfs /dev/hda2
debugfs 1.27 (8-Mar-2002)
debugfs: lsdel
...
2046601 0 20660 0 1/ 1 Tue Jul 19 18:27:11 2005
...
2964 deleted inodes found.
/sbin/debugfs /dev/md1
debugfs 1.27 (8-Mar-2002)
debugfs: lsdel
...
2046601 0 20660 0 1/ 1 Tue Jul 19 18:27:11 2005
...
2964 deleted inodes found.
all inodes are dated Jul 19 while I have deleted my files yesterday, so
seems debugfs can't work directly with /dev/md1, neither with /dev/hda2.
What is the right way to recover files in such situation? I have tried
to recover files using R-Linux for windows and it discovered deleted
folders fine while failed on deleted files inside this folders. If
debugfs can't do the job, which utility can be used?
Thanks in advance,
George
1 сообщение
• Страница 1 из 1
Вернуться в Сетевые операционные системы
Кто сейчас на конференции
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 39