How to mount SGI XFS on Linux Box
#1
How to mount SGI XFS on Linux Box
Hi Guys,

hope you can help. I'm trying to mount old SGI XFS partition on a linux box.




The modern linux xfsprogs dropped the support for V1 inodes/dirs. So i have installed a Debian Lenny on a old PC and tried to mount the partition there w/o success.




Code:
# fdisk -l /dev/sdb

Disk /dev/sdb (SGI disk label): 255 heads, 63 sectors, 587 cylinders
Units = cylinders of 16065 * 512 bytes

----- partitions -----
Pt#    Device  Info    Start      End  Sectors  Id  System
1: /dev/sdb1  boot        1      423  6796148  a  SGI xfs
2: /dev/sdb2  swap      424      525  1638400  3  SGI raw
9: /dev/sdb3              0        0      4428  0  SGI volhdr
11: /dev/sdb4              0      525  8438976  6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
0: sgilabel  sector    2 size    1024
1: ide        sector    5 size  190976
2: sash      sector  378 size  190976



Code:
# mount -t xfs /dev/sdb1 /mnt
mount: Function not implemented



Code:
# dmesg | tail
XFS: file system using version 1 directory format
XFS: SB validate failed



Code:
# xfs_repair -nv /dev/sdb1
Phase 1 - find and verify superblock...
        - block cache size set to 762152 entries
Phase 2 - using internal log
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan (but don't clear) agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
bad key in bmbt root (is 221, would reset to 220) in inode 14777256 data fork
bad nblocks 284 for inode 14777256, would reset to 282
bad nextents 198 for inode 14777256, would reset to 197
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
Memory access failure



What can i do to mount this drive?
GiH
O2

Trade Count: (0)
Posts: 2
Threads: 1
Joined: Dec 2020
Location: Germany
Find Reply
12-17-2020, 10:11 AM


Messages In This Thread
How to mount SGI XFS on Linux Box - by GiH - 12-17-2020, 10:11 AM
RE: How to mount SGI XFS on Linux Box - by jan-jaap - 12-17-2020, 04:09 PM
RE: How to mount SGI XFS on Linux Box - by weblacky - 12-18-2020, 02:38 AM
RE: How to mount SGI XFS on Linux Box - by Raion - 12-18-2020, 02:46 AM
RE: How to mount SGI XFS on Linux Box - by GiH - 12-18-2020, 05:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)