Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-08 Thread Darren J Moffat
Jim Dunham [EMAIL PROTECTED] wrote:
 The only two Solaris file systems that are endian-neutral are ISO  
 9660 (High Sierra), which is read-only, and of course ZFS.

Personally I wouldn't say that ZFS isn endian-neutral but endian aware 
(or adaptive). Writes are done in the local endianness but the on disk 
format and code is ware of this when reading and does the appropriate 
swaps.  So a pool written in big endian then take to a little endian 
machine and written more will gradually migrate to little endian over time.

-- 
Darren J Moffat
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-08 Thread Joerg Schilling
Darren J Moffat [EMAIL PROTECTED] wrote:

 Jim Dunham [EMAIL PROTECTED] wrote:
  The only two Solaris file systems that are endian-neutral are ISO  
  9660 (High Sierra), which is read-only, and of course ZFS.

 Personally I wouldn't say that ZFS isn endian-neutral but endian aware 
 (or adaptive). Writes are done in the local endianness but the on disk 
 format and code is ware of this when reading and does the appropriate 
 swaps.  So a pool written in big endian then take to a little endian 
 machine and written more will gradually migrate to little endian over time.

The same applies to PCFS and UDF.

It would be possible to do the same with UFS.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-07 Thread andrewk9
If you call FAT a file system ;-)

Andrew.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald

I put a SCSI disk originally formated, partitioned, and loaded with data 
on a SPARC machine, into a X86 machine I just installed NV b74 on.

When I run format, I see the disk in the list, and select it, but when I 
go to check the partition table, format tells me to go run fdisk first.

Won't running fdisk destroy the SPARC created data structures on the disk?

Is there some process for converting a disk? or for telling SolNV X86 to 
access it the way a SPARC would?

  -Kyle



___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Jürgen Keil
 I put a SCSI disk originally formated, partitioned, and loaded with data 
 on a SPARC machine, into a X86 machine I just installed NV b74 on.
 
 When I run format, I see the disk in the list, and select it, but when I 
 go to check the partition table, format tells me to go run fdisk first.
 
 Won't running fdisk destroy the SPARC created data structures on the disk?
 
 Is there some process for converting a disk? or for telling SolNV X86 to 
 access it the way a SPARC would?

Format the disk with a zpool / zfs (using an EFI disk label), and both SPARC 
and x86 can use it.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald
Jürgen Keil wrote:
 Format the disk with a zpool / zfs (using an EFI disk label), and both SPARC 
 and x86 can use it.
  
   
Ok. But is there any way to get at the data that is on this disk right 
now from X86 Solaris?

  -Kyle

  
 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald
Darren J Moffat wrote:
 Kyle McDonald wrote:
 andrewk9 wrote:
 Assuming your disk has UFS partitions on it then no, you can't do 
 that. UFS was not designed to be movable between architectures. The 
 main reason you cannot do this is that the on-disk formats are 
 incompatible  by default due to x86 processors being 
 little-endian, and Solaris running SPARC CPUs in big-endian mode.

   
 I knew it wouldn't be easy.

 I just thought there might be a compatibility mode where the driver 
 or fs did the endian translation.

 Thanks for the info... I'm off to track down a SPARC machine.

 Does NV support Sun4c? lol

 sun4, sun4c, sun4d, sun4m are not supported in Nevada, as are 
 UltraSPARC  I processors less than 170Mhz.

So basically I'm looking for an higher end Ultra 2 or Ultra 5 or newer. 
Ok. Thanks!

  -Kyle

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Artem Kachitchkine

 I just thought there might be a compatibility mode where the driver 
 or fs did the endian translation.

 Thanks for the info... I'm off to track down a SPARC machine.

As another option, I think Linux UFS implementation has endian 
translation, 'ufstype' mount option.

-Artem
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald
Artem Kachitchkine wrote:

 I just thought there might be a compatibility mode where the driver 
 or fs did the endian translation.

 Thanks for the info... I'm off to track down a SPARC machine.

 As another option, I think Linux UFS implementation has endian 
 translation, 'ufstype' mount option.


Really, Will it be ok with no FDisk partition? and will it be able to 
use the SPARC vtoc to find the UFS partition?

  -Kyle

 -Artem

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Artem Kachitchkine

 Really, Will it be ok with no FDisk partition? and will it be able to 
 use the SPARC vtoc to find the UFS partition?

Not sure, what I would do is boot up a livecd and try mounting various 
/dev/sd* devices.

-Artem
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald
Artem Kachitchkine wrote:

 Really, Will it be ok with no FDisk partition? and will it be able to 
 use the SPARC vtoc to find the UFS partition?

 Not sure, what I would do is boot up a livecd and try mounting various 
 /dev/sd* devices.

 -Artem
I think I'll try Caspers tools  first, but if they don't work, I have a 
RHEL machine that I can pop the disk into, and I'll see what happens.

  -Kyle

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Casper . Dik


So basically I'm looking for an higher end Ultra 2 or Ultra 5 or newer. 
Ok. Thanks!



If you can dd the disk image, I can probably provide you with some tools
to find the ddiskpartition and to convert (fsck needed) the partitions
to x86 format.

Casper

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Darren J Moffat
Kyle McDonald wrote:
 andrewk9 wrote:
 Assuming your disk has UFS partitions on it then no, you can't do that. UFS 
 was not designed to be movable between architectures. The main reason you 
 cannot do this is that the on-disk formats are incompatible  by default 
 due to x86 processors being little-endian, and Solaris running SPARC CPUs in 
 big-endian mode.

   
 I knew it wouldn't be easy.
 
 I just thought there might be a compatibility mode where the driver or 
 fs did the endian translation.
 
 Thanks for the info... I'm off to track down a SPARC machine.
 
 Does NV support Sun4c? lol

sun4, sun4c, sun4d, sun4m are not supported in Nevada, as are UltraSPARC 
  I processors less than 170Mhz.

-- 
Darren J Moffat
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Kyle McDonald
[EMAIL PROTECTED] wrote:
   
 So basically I'm looking for an higher end Ultra 2 or Ultra 5 or newer. 
 Ok. Thanks!
 



 If you can dd the disk image, I can probably provide you with some tools
 to find the ddiskpartition and to convert (fsck needed) the partitions
 to x86 format.

 Casper

   
That sounds interesting. I'm willing to try it.

 -Kyle


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Jim Dunham
Kyle,

 Artem Kachitchkine wrote:

 I just thought there might be a compatibility mode where the  
 driver
 or fs did the endian translation.

 Thanks for the info... I'm off to track down a SPARC machine.

 As another option, I think Linux UFS implementation has endian
 translation, 'ufstype' mount option.


 Really, Will it be ok with no FDisk partition? and will it be able to
 use the SPARC vtoc to find the UFS partition?

This is more then an FDisk, VTOC issue, in that if one found the UFS  
partition, it too will be unreadable. If one could read the UFS  
partition, then the UFS volume header, all inodes, all directories  
and the contents of some, but not all files would be unreadable.

The only two Solaris file systems that are endian-neutral are ISO  
9660 (High Sierra), which is read-only, and of course ZFS.


   -Kyle

 -Artem

 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

Jim Dunham
Storage Platform Software Group

Sun Microsystems, Inc.
1617 Southwood Drive
Nashua, NH 03063
http://blogs.sun.com/avs



___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Using SPARC formated disks on X86?

2007-11-06 Thread Artem Kachitchkine

 The only two Solaris file systems that are endian-neutral are ISO  
 9660 (High Sierra), which is read-only, and of course ZFS.

UDF and FAT are also endian neutral, aren't they.

-artem
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org