Use Sparc HD in Linux PC?


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers Use Sparc HD in Linux PC?
# 1  
Old 10-30-2008
Use Sparc HD in Linux PC?

My Sparc 10 is not working and I would like to get some data file from it. Can I use Sparc HD as an external HD to a linux PC? If I do, dies linux PC will recognize this HD and not ask to format it?

Thanks a lot.

Smilie
# 2  
Old 10-30-2008
As long as you have the right kind of controller (SCSI? IDE?) and cables to plug it in, go ahead and try. No PC that I know of just formats a hard drive because you connected it... you have to tell it to do so.

Linux should recognise the Sun label on the disk and allow you to mount and read them as long as your kernel has the required modules and utilities to support mounting UFS filesystems (I'm guessing that's what you used on your SPARC).
# 3  
Old 04-11-2009
You might have "fun" with the data having been stored in big endian and little endian format (Sparc vs. Intel), so if once you have mounted the disk the file names and or file contents look scrambled then that could be why.

See: Endianness - Wikipedia, the free encyclopedia and Dr. Bill's Notes on "Little Endian" vs. "Big Endian".

The problem can be resolved with some C code though.
# 4  
Old 06-27-2009
Quote:
Originally Posted by Annihilannic
Linux should recognise the Sun label on the disk and allow you to mount and read them as long as your kernel has the required modules and utilities to support mounting UFS filesystems (I'm guessing that's what you used on your SPARC).
I strongly doubt about it.
Linux expects hard disks to have a MBR and is only able to mount low endian UFS in slices layed out in a Solaris primary partition.
SPARC (as already stated) use big endian UFS and don't use the extra layer of primary partitions.
# 5  
Old 06-28-2009
Strange to ressurrect such an old thread that the OP seems to have disappeared from anyway...

Linux does not expect an MBR. In fact, by default, when you initialise disks for use by Veritas Volume Manager, it uses Sun disk labels (which surprised me), e.g.

Code:
Disk /dev/sdb8 (Sun disk label): 30 heads, 128 sectors, 55508 cylinders
Units = cylinders of 3840 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sdb8p3  u          0     55508 106575360    5  Whole disk
/dev/sdb8p8  u          0     55508 106575360    f  Unknown

The endianness of the data on the filesystem is only an issue if you are trying to read it programmatically (i.e. reading multiple byte values), and can be fixed programmatically if desired... however ASCII will still be in the correct order.
# 6  
Old 07-06-2009
I stand corrected. Thanks for the information.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Start /SYS on SUN SPARC does not start machine [SUN SPARC ENTERPRISE T-5240]

-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS ]-> show HOST /HOST Targets: bootmode diag domain Properties: autorestart = reset autorunonerror = false bootfailrecovery = poweroff ... (29 Replies)
Discussion started by: z_haseeb
29 Replies

2. Red Hat

Migrating Oracle on Solaris Sparc to Linux RHEL 7 VM

Hi Gurus, We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux. we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris.. Could you please help me here by proving any info ... (4 Replies)
Discussion started by: mssprince
4 Replies

3. Shell Programming and Scripting

Migrating Oracle on Solaris Sparc to Linux RHEL 7 VM

Hi Gurus, We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux. we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris.. Could you please help me here by proving any info... (1 Reply)
Discussion started by: mssprince
1 Replies

4. Linux

Oracle Linux on SPARC

Hi Oracle Linux users, You can probably guess from the title what the question is: Does anyone know if Oracle Linux (the Unbreakable variety I think that is) comes in a SPARC release or, if not, will there be one some time soon ? Many thanks, P;):D:b: (2 Replies)
Discussion started by: patcom
2 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. Linux

SPARC, Linux, RAID1, SILO

Hi, I've been searching for answers for two days and didn't find any definite answers on building RAID1 on SPARC. The main problem was with SILO (Sparc Improved boot LOader): can it boot from RAID partition or not. So I just tried it and it works. I've done this on Debian, but it should be... (0 Replies)
Discussion started by: Luka
0 Replies

7. Ubuntu

Ubuntu for SPARC: Linux freezes (ALOT!)

Hi, I am wanting to get some input on an issue that I have encountered with Ubuntu 7.10 Gutsy. When installing Linux & booting Linux it freezes almost all the time, I don't know if it is the shell or whatever, but after SILO, it goes wild of freezes, then rebooting all the time. (The display... (0 Replies)
Discussion started by: huffandy
0 Replies

8. Solaris

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:... (3 Replies)
Discussion started by: ilan
3 Replies

9. Programming

C compiler to build Sparc/Solaris binaries on Linux

Just that the Subject says. I am looking for a C compiler for Linux x86 that will allow me to compile a C source code file and the resulting binary will be able to run on a Sparc running Solaris. Thanks. (2 Replies)
Discussion started by: lyonsd
2 Replies
Login or Register to Ask a Question