Re: How to mount UFS file systems?
On Fri, 9 Oct 1998, Sanzo Miyazawa wrote:
> VFS: Disk change detected on device 08:20
> SCSI device sdc: hdwr sector= 512 bytes. Sectors= 446325 [217 MB] [0.2 GB]
> sdc: Write Protect is on
> sdc: sdc1 sdc2 sdc3 sdc4 sdc5 sdc6 sdc7 sdc8
> ufs_read_super: can't grok byteswapped fs on dev 8/35
------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That looks like the problem ... big endian vs. small endian problem. If
you were reading it on a SPARC/Linux system it would probably be OK. Looks
like you are stuck. An Alpha/Linux system would probably read it as well.
An intel system will not read it because it places the bytes in a
different order. In a 16bit word, Intel writes the high byte first, then
the low byte. SPARC writes the low byte first then the high byte. Even
though Linux can figure out the filesystem type, it can not make sense of
the data on the disk because it is writeen backwards.
I have never used Solars-86 but I wonder if it has a utility to byte-swap
a filesystem.
>
>
> The scsi id of MO drive is 2.
>
>
> >
> >
> >On Fri, 9 Oct 1998, Sanzo Miyazawa wrote:
> >
> >> >From grep@shorelink.com Fri Oct 9 14:15:50 1998
> >> >
> >> >
> >> >If the UFS drive is, for example, SCSI target 3, it looks from the docs
> >> >like you would use the following:
> >> >
> >> >mount /dev/sda3 /<mount-dir> -t ufs
> >> >
> >> >Note that ufs is READ ONLY!
> >> >
> >>
> >> Thank you very much for a quick reply.
> >>
> >> I get the following error message.
> >>
> >> % mount /dev/sdc3 /mnt -t ufs -o ro
> >> mount: wrong fs type, bad option, bad superblock on /dev/sdc3,
> >> or too many mounted file systems
> >>
> >> On the Sun, this disk (MO) was created to have
> >> partitions whose sizes are
> >>
> >> partition a 0
> >> partition b 0
> >> partition c all
> >> partition g all
> >>
> >>
> >>
> >>
> >>
> >> >
> >> >
> >> >On Fri, 9 Oct 1998, Sanzo Miyazawa wrote:
> >> >
> >> >>
> >> >>
> >> >>
> >> >> Could you please teach me how to mount SUN UFS file systems
> >> >> in linux? (How can I specify a partition of ufs disk in the mount command?)
> >> >>
> >> >> Sanzo Miyazawa
> >> >> miyazawa@smlab.sci.gunma-u.ac.jp
> >> >>
> >> >>
> >> >> -- System Information
> >> >> Debian Release: 2.0
> >> >> Kernel Version: Linux smp6m 2.0.34 #1 Sat Jul 11 18:07:08 JST 1998 i686 unknown
> >> >>
> >> >> smp6m> cat /proc/file*
> >> >> ext2
> >> >> minix
> >> >> nodev proc
> >> >> iso9660
> >> >> nodev autofs
> >> >> nodev nfs
> >> >> xenix
> >> >> sysv
> >> >> coherent
> >> >> ufs
> >> >> msdos
> >> >> vfat
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> >> >>
> >> >>
> >> >>
> >> >
> >> >George Bonser
> >> >
> >> >The Linux "We're never going out of business" sale at an FTP site near you!
> >> >
> >> >
> >>
> >>
> >
> >George Bonser
> >
> >The Linux "We're never going out of business" sale at an FTP site near you!
> >
> >
>
>
George Bonser
The Linux "We're never going out of business" sale at an FTP site near you!
Reply to: