Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Both are true.
Part of the confusion comes from some sites describing UFS (actually UFS1) as a an obsolete filesystem preceding BSD's FFS and ignore Sun's implementation.
UFS (UFS3) is the filesystem SunOS successive versions use since the early eighties, based on berkeley (BSD) FFS fast file system.
Sun has improved it with time, with current features like multi-terabytes support, journaling, snapshots, ...
As both FFS and UFS, amongst others, are very similar, Linux is using a single driver for both, and an option is telling which one to target, e.g.:
Code:
mount -t ufs -o ufstype=44bsd /dev/hda8 /mnt
With Solaris ufs, the option would be: "ufstype=sunx86"
Originally posted by jlliagre Both are true.
Part of the confusion comes from some sites describing UFS (actually UFS1) as a an obsolete filesystem preceding BSD's FFS and ignore Sun's implementation.
UFS (UFS3) is the filesystem SunOS successive versions use since the early eighties, based on berkeley (BSD) FFS fast file system.
Sun has improved it with time, with current features like multi-terabytes support, journaling, snapshots, ...
As both FFS and UFS, amongst others, are very similar, Linux is using a single driver for both, and an option is telling which one to target, e.g.:
Code:
mount -t ufs -o ufstype=44bsd /dev/hda8 /mnt
With Solaris ufs, the option would be: "ufstype=sunx86"
Doesn't work for me....
Code:
# mount -t ufs -o ufstype=44bsd /dev/hdb1 /mnt/solaris/
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg|tail
ufs was compiled with read-only support, can't be mounted as read-write
# mount -t ufs -o ufstype=44bsd,ro /dev/hdb1 /mnt/solaris/
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg|tail
ufs was compiled with read-only support, can't be mounted as read-write
ufs_read_super: bad magic number
# mount -t ufs -o ufstype=sunx86,ro /dev/hdb1 /mnt/solaris/
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg|tail
ufs was compiled with read-only support, can't be mounted as read-write
ufs_read_super: bad magic number
ufs_read_super: bad magic number
Since there are slices within a Solaris partition, how does one realize them on the mount command line?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Slices are handled by linux the same way as extended partitions.
That explains why your hdb1 mount fails. hdb1 doesn't contain a single ufs filesystem.
cat /proc/partitions, or better "dmesg | grep hda" should tell you the right device name to use for you Solaris slices, e.g.:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.