All,
I'm having trouble at a customer site, where they run RedHat Linux 7.1, XFS
1.0.1 2.4.3
kernel, mounting through RedHat's multipath driver.
Linux nas1 2.4.3-SGI_XFS_1.0.1 #1 SMP Thu Aug 30 15:50:24 EDT 2001 i686 unknown
Two things happened tonight, not sure yet what was done to cause it, but:
the box was refusing to mount three filesystems, claiming duplicate
UUIDs.
solved this by running xfs_admin -U generate
one of the filesystems has a corrupt lost+found; xfs_repair can't fix
it:
[root@nas2 /]# ls -l /nas2/disk211
ls: /nas2/disk211/lost+found: No such file or directory
ls: /nas2/disk211/lost+found: No such file or directory
total 12
dr-xr-xr-x 28 root root 4096 Sep 12 09:41 admin
drwxr-xr-x 3 root bin 22 Jul 30 10:39 home
...
[root@nas2 /]# xfs_repair /dev/md30
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
imap claims a free inode 5700 is in use, correcting imap and clearing inode
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- clear lost+found (if it exists) ...
- clearing existing "lost+found" inode
- deleting existing "lost+found" entry
- clearing existing "lost+found" inode
- deleting existing "lost+found" entry
xfs_repair: phase4.c:1022: delete_orphanage: Assertion `(res == 0 && dirty == 0)
|| (res == 1 && dirty == 1)' failed.
Aborted (core dumped)
|