The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VNC server from the Companion cd. Solaris 8 SPARC mads-nielsen SUN Solaris 0 01-28-2008 07:02 AM
C compiler to build Sparc/Solaris binaries on Linux lyonsd High Level Programming 2 12-08-2006 04:56 PM
Filesystem for Linux - Solaris SolidSnake Filesystems, Disks and Memory 3 11-18-2003 03:18 AM
Mount nfs filesystem joerg UNIX for Dummies Questions & Answers 2 03-08-2002 04:51 AM
Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8 David Johnston UNIX for Dummies Questions & Answers 1 10-06-2001 08:46 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-03-2008
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
How can I mount a ufs filesystem on a solaris 10 sparc onto a Linux server

Hi there,

I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server.

*I have re-compiled the linux kernel t support ufs fstype with ro mount support.

filesystem on solaris:
/dev/dsk/c2t2300000B080442C0d3s2
2.0G 2.1M 1.9G 1% /ilantry

fdisk -l o/p for the corresponding lun when mapped to linux:
Disk /dev/sdc (Sun disk label): 64 heads, 128 sectors, 2622 cylinders
Units = cylinders of 8192 * 512 bytes

Device Flag Start End Blocks Id System
/dev/sdc1 0 32 131072 2 SunOS root
/dev/sdc2 u 32 64 131072 3 SunOS swap
/dev/sdc3 u 0 2622 10739712 5 Whole disk
/dev/sdc7 64 2622 10477568 4 SunOS usr

Disk /dev/sdc1 (Sun disk label): 64 heads, 128 sectors, 2622 cylinders
Units = cylinders of 8192 * 512 bytes

Device Flag Start End Blocks Id System
/dev/sdc1p1 0 32 131072 2 SunOS root
/dev/sdc1p2 u 32 64 131072 3 SunOS swap
/dev/sdc1p3 u 0 2622 10739712 5 Whole disk
/dev/sdc1p7 64 2622 10477568 4 SunOS usr

Disk /dev/sdc3 (Sun disk label): 64 heads, 128 sectors, 2622 cylinders
Units = cylinders of 8192 * 512 bytes

Device Flag Start End Blocks Id System
/dev/sdc3p1 0 32 131072 2 SunOS root
/dev/sdc3p2 u 32 64 131072 3 SunOS swap
/dev/sdc3p3 u 0 2622 10739712 5 Whole disk
/dev/sdc3p7 64 2622 10477568 4 SunOS usr
-------------------

while try to mount it....
[root@pillar33 ~]# mount -t ufs -o ro,ufstype=sun /dev/sdc7 /lun1
mount: wrong fs type, bad option, bad superblock on /dev/sdc7,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

[root@pillar33 ~]# dmesg | tail
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
eth0: no IPv6 routers present
ufs: no version for "struct_module" found: kernel tainted.
ufs_read_super: bad magic number
[root@pillar33 ~]#



can somebody tell me how to get this working?

Thanks,
ilan

Last edited by ilan; 06-03-2008 at 06:35 PM.. Reason: added dmesg o/p
  #2 (permalink)  
Old 06-03-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,382
I doubt you can.
Linux supports mounting UFS created under the same endianness CPUs. I assume your Linux box is on x86 which is little endian while SPARC is big endian.
  #3 (permalink)  
Old 06-03-2008
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
Yes jlliagre, my linux box is of x86_64. I read that with the difference in endianness we cannot mount sparc slices onto intel buut, I am still checking that if this is a *dead end* or is there a way to go about this!!

Thanks for the helpful information.

-ilan
  #4 (permalink)  
Old 06-04-2008
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
how about using some tools that will convert to make up

with these difference in endiannes?

Just a thought, if anybody know about these sort of trick, please post.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0