All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Mielke <m_mlk@yahoo.com>
To: xfs@oss.sgi.com
Subject: Accesing data on (old) XFS devices
Date: Mon, 9 Feb 2009 08:43:40 -0800 (PST)	[thread overview]
Message-ID: <54506.39868.qm@web34506.mail.mud.yahoo.com> (raw)

Hi all,

I have 2 SCSI disks which were used on an (old) Silicon Graphics running on IRIX 6.5.x
I need to recover the data from those disks, dump them somewhere else and forget about the SGI disks...

OpenSUSE 11 sees the devices correctly and with fdisk I can see the partitions:

--
# fdisk -l /dev/sda

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

----- partitions -----
Pt#    Device  Info     Start       End   Sectors  Id  System
1: /dev/sda1  boot        66      2213  34510368   a  SGI xfs
2: /dev/sda2  swap         1        65   1048576   3  SGI raw
9: /dev/sda3               0         0      4096   0  SGI volhdr
11: /dev/sda4               0      2213  35563040   6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
0: sash       sector    2 size  273408
1: ide        sector  536 size  249856
2: symmon     sector 1024 size 1113600


# fdisk -l /dev/sdd

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

----- partitions -----
Pt#    Device  Info     Start       End   Sectors  Id  System
3: /dev/sdd1               1        16    262144   3  SGI raw
4: /dev/sdd2              17        32    262144   3  SGI raw
5: /dev/sdd3              33       293   4194304   3  SGI raw
6: /dev/sdd4             294       555   4194304   3  SGI raw
7: /dev/sdd5             556       816   4194304   3  SGI raw
8: /dev/sdd6             817      1077   4194304   3  SGI raw
9: /dev/sdd7               0         0      4096   0  SGI volhdr
11: /dev/sdd8               0      2213  35563040   6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----

--

I added the following to /etc/raw:
--
raw1:sdd1
raw2:sdd2
raw3:sdd3
raw4:sdd4
raw5:sdd5
raw6:sdd6
--

...but then I get this error:
--
# /etc/init.d/raw  start
bind /dev/raw/raw1 to /dev/sdd1...                                    failed
bind /dev/raw/raw2 to /dev/sdd2...                                    failed
bind /dev/raw/raw3 to /dev/sdd3...                                    failed
bind /dev/raw/raw4 to /dev/sdd4...                                    failed
bind /dev/raw/raw5 to /dev/sdd5...                                    failed
bind /dev/raw/raw6 to /dev/sdd6...                                    failed
--

Later on I found this thread:

http://oss.sgi.com/archives/xfs/2005-11/msg00376.html

and this FAQ:

http://linux.math.tifr.res.in/programming-doc/xfs/faq.html#xfsmountfail

when I run xfs_repair -n /dev/sda or /dev/sdd  (-n = no modify mode) it yields the following message:
--
Sorry, could not find valid secondary superblock
Exiting now.
--

So...
my questions are: how destructive can a xfs_repair be in terms of
destroying all the data (disk image is already made) be? and is there
any way to access those devices??

I first asked this questions on the SuSE lists and I've been redirected here ;-)


TIA,
Martin


      

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2009-02-09 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 16:43 Martin Mielke [this message]
2009-02-09 17:08 ` Accesing data on (old) XFS devices Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54506.39868.qm@web34506.mail.mud.yahoo.com \
    --to=m_mlk@yahoo.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.