LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 04-07-2005, 12:24 AM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question What is the Solaris filesystem called?


I know zfs is the new flesystem in Solaris 10... but what is the old filesystem called?
 
Old 04-07-2005, 01:36 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Solaris own's filesystem is UFS (Unix FileSystem).
zfs is not yet in Solaris 10.
 
Old 04-07-2005, 01:37 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
UFS? I googled around and I presume UFS was the older filesystem used by Solaris.

EDIT: jlliagre got ahead of me on this one.

Last edited by vharishankar; 04-07-2005 at 01:39 AM.
 
Old 04-07-2005, 03:12 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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"

Last edited by jlliagre; 04-07-2005 at 03:33 AM.
 
Old 06-05-2005, 11:08 PM   #5
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Rep: Reputation: 15
Quote:
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?
 
Old 06-06-2005, 01:30 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.:
Code:
hda: max request size: 1024KiB
hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hda1: <solaris: [s0] hda5 [s1] hda6 [s2] hda7 >
By the way, this is the same with BSD.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 12:14 AM
Can Linux reiser filesystem be mounted under Solaris? lyonsd Solaris / OpenSolaris 1 06-06-2005 01:53 AM
Moutnt PC filesystem to Solaris UltraSoul Solaris / OpenSolaris 3 05-16-2005 07:29 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration