LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-05-2007, 09:42 PM   #1
shachter
Member
 
Registered: Jul 2007
Posts: 47

Rep: Reputation: 0
rw access to Solaris ufs slices from Linux


Since this is www dot linuxquestions dot org, presumably the readership
of this forum is interested in Solaris-Linux interoperability,
even though the name of the forum is "Solaris/OpenSolaris".
Please forgive me if I am wrong, I have never posted here before.

Can you tell me how to mount Solaris slices -t ufs -o rw
on a Linux kernel? My kernel recognizes my Solaris slices
("dmesg | grep solaris" produces
hda2: <solaris: [s0] hda12 [s1] hda13 [s2] hda14 [s3] hda15 [s4] hda16
[s5] hda17 [s6] hda18 >) and also has no problem reading the
files on those slices after a "mount -t ufs /dev/hda12 /mnt/solaris".
But any filesystem so mounted is a ROFS. I recompiled my kernel
(vmlinuz-2.6.13-15-default, SuSe 10) to turn on the ufs rw
option, but it still treated the filesystem on the slice
as a ROFS until I did both -o ufstype=sun and -o remount
(doing one without the other didn't help -- the -o rw
generated no errors, and mount reported rw, but I still
got the ROFS when I tried to write or chmod). After I did
-o ufstype=sun and -o remount, I was able to chmod without
ROFS errors, but I was still getting ROFS errors when I
tried to write. And then afterwards, the directory
in which I was working (/etc) seemed to disappear, even
after unmounting and remounting. I haven't tried booting
Solaris directly yet to see whether /etc really has
disappeared. If it has, I may need to reinstall Solaris.
Please do me the kindness of letting me know, if you reply; I do not
read this forum regularly. Thank you in advance.


jay at m5.chicago.il.us
 
Old 07-06-2007, 12:43 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
I would never try myself to mount an UFS file-system R/W on linux outside testing.

That said, according to the Linux mount manual page, you are using an incorrect option to the mount command.

"-o ufstype=sun" is for SPARC while the right way is documented to be "-o ufstype=sunx86".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel that supports UFS/Solaris zarnold Fedora 1 08-19-2006 05:32 PM
Mount UFS partitions (not slices) from linux /etc/fstab JZL240I-U *BSD 6 04-26-2006 02:59 AM
Mounting Solaris UFS volumes under Linux? ldieter Linux - General 1 02-20-2005 09:19 AM
HowTo mount all Solaris (sun) ufs slices under Linux? DrLou Solaris / OpenSolaris 1 11-17-2004 12:36 PM
Cant mount UFS in Solaris but can in Linux sstallion Linux - Newbie 1 10-28-2004 08:47 AM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration