xfs
[Top] [All Lists]

HELP - serious problem, weird filesystem behaviour ...

To: linux-xfs@xxxxxxxxxxx
Subject: HELP - serious problem, weird filesystem behaviour ...
From: "Blizbor (IMA)" <tb670725@xxxxxx>
Date: Sat, 03 Aug 2002 11:39:08 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
Hi,

Yesterday in mc programm I have deleted few
directories on \ filesystem (i.e. \ola \ala \iza).
These are very small so deletion was rapid.

Then problem started.

ls / doesnt show anything however I still can do
cd /home; cd /root; cd /bin ... all files are found.
Almost everything is working. Im afraid to reboot these machine.

I have done xfs_ncheck - shows that fs contains data.
I have done xfsdump, then during archive validation
I found something strange for me:

[root@localhost /root]# xfsrestore -t -f /home/XFSdump_rootFS.bin | head -1000
xfsrestore: version 3.0 - Running single-threaded
xfsrestore: searching media for dump
xfsrestore: examining media file 0
xfsrestore: dump description:
xfsrestore: hostname: localhost
xfsrestore: mount point: /
xfsrestore: volume: /dev/ide/host0/bus0/target0/lun0/part1
xfsrestore: session time: Sat Aug 3 11:07:37 2002
xfsrestore: level: 0
xfsrestore: session label: "dump po awarii 2002.08.02 robiony rano 08.03"
xfsrestore: media label: ""dump po awarii 2002.08.02 robiony rano 08.0""
xfsrestore: file system id: 978d4a02-4027-11d5-89bc-c22eca534389
xfsrestore: session id: c391475d-cd00-45a2-a7b6-ea13a0089331
xfsrestore: media id: d0eedb2f-5568-4e69-a0d2-70815d7476e7
xfsrestore: searching media for directory dump
xfsrestore: reading directories
xfsrestore: directory post-processing
xfsrestore: reading non-directory files
xfsrestore: NOTE: ino 135 salvaging file, placing in orphanage/524417.0/lib/locale/ar_IN/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/ar_IN/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 144 salvaging file, placing in orphanage/524417.0/lib/locale/en_CA/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/en_CA/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 154 salvaging file, placing in orphanage/524417.0/lib/locale/eu_ES/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/eu_ES/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 157 salvaging file, placing in orphanage/524417.0/lib/locale/fr_CH/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/fr_CH/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 159 salvaging file, placing in orphanage/524417.0/lib/locale/fr_LU/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/fr_LU/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 162 salvaging file, placing in orphanage/524417.0/lib/locale/hr_HR/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/hr_HR/LC_MESSAGES/SYS_LC_MESSAGES
xfsrestore: NOTE: ino 164 salvaging file, placing in orphanage/524417.0/lib/locale/it_CH/LC_MESSAGES/SYS_LC_MESSAGES
orphanage/524417.0/lib/locale/it_CH/LC_MESSAGES/SYS_LC_MESSAGES



What does it means ? Is it possible to repair that system without data lost ?

Another try of the validation shows:
[root@localhost /root]# xfsrestore -i -f /home/XFSdump_rootFS.bin /tmp
xfsrestore: version 3.0 - Running single-threaded
xfsrestore: searching media for dump
xfsrestore: examining media file 0
xfsrestore: dump description:
xfsrestore: hostname: localhost
xfsrestore: mount point: /
xfsrestore: volume: /dev/ide/host0/bus0/target0/lun0/part1
xfsrestore: session time: Sat Aug  3 11:07:37 2002
xfsrestore: level: 0
xfsrestore: session label: "dump po awarii 2002.08.02 robiony rano 08.03"
xfsrestore: media label: ""dump po awarii 2002.08.02 robiony rano 08.0""
xfsrestore: file system id: 978d4a02-4027-11d5-89bc-c22eca534389
xfsrestore: session id: c391475d-cd00-45a2-a7b6-ea13a0089331
xfsrestore: media id: d0eedb2f-5568-4e69-a0d2-70815d7476e7
xfsrestore: searching media for directory dump
xfsrestore: reading directories
xfsrestore: directory post-processing

========================== subtree selection dialog ==========================

the following commands are available:
        pwd
        ls [ <path> ]
        cd [ <path> ]
        add [ <path> ]
        delete [ <path> ]
        extract
        quit
        help

 -> ls

 -> ls /

 -> ls /root
/root not found

 -> ls root
root not found

Am I doing something wrong ?

Other info about that system:
p2, 512MB, IDE drive, devfs.

[root@localhost /root]# rpm -qa | grep xfs
xfsprogs-1.1.7-0
xfsdump-1.0.2-0
xfsprogs-devel-1.1.7-0

[root@localhost /root]# cat /proc/version
Linux version 2.4.4-xfs (root@localhost) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-75)) #2 Sat Jun 2 17:12:38 CEST 2001


[root@localhost /root]# mount
/dev/ide/host0/bus0/target0/lun0/part1 on / type xfs (rw,noatime,nodiratime)
none on /proc type proc (rw)
devfs on /dev type devfs (rw)
/dev/ide/host0/bus0/target0/lun0/part5 on /home type xfs (rw,noatime,nodiratime)
/dev/ide/host0/bus0/target0/lun0/part8 on /tmp type xfs (rw,noatime,nodiratime)
/dev/ide/host0/bus0/target0/lun0/part6 on /var type xfs (rw,noatime,nodiratime)
/dev/ide/host0/bus0/target0/lun0/part5 on /var/spool type xfs (rw,noatime,nodiratime)
none on /dev/pts type devpts (rw,gid=5,mode=620)


[root@localhost /root]#

Regards,
Blizbor




<Prev in Thread] Current Thread [Next in Thread>