LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-11-2007, 08:10 AM   #1
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Rep: Reputation: 46
ZFS works with 32bit CPU?


I wonder, I have a Pentium 4 which is 32 bit. Can ZFS which is 128bit, work correctly if run by a 32 bit CPU? Does ZFS have different modes, according to the bit number of the cpu? A 32bit CPU with RAID-Z is inferior to a 64bit CPU with RAID-Z?

The reason I ask is, if I make a ZFS raid with 32 bit, and later change CPU to 64 bit, will the RAID-Z be inferior to, if I created the RAID-Z with 64 bit from start? Must I upgrade to 64bit first and create the RAID-Z, or doesnt it matter how many bits I have? I can upgrade CPU to 64bit later, without affecting the RAID-Z?



And, if I upgrade cpu to 64bit, can I use the same ZFS raid flawlessly? Or will there be trouble importing the ZFS RAID to the new 64bit CPU? Can I tuck the RAID to different x86 CPU's without problem, or is the RAID tied to the original CPU's architecture?

(If I take a NTFS disc which stores divx films, and tuck it into another XP machine, the disc will work flawlessly. But, if I take a disc which has windows XP installed, I can not install that disc into another empty computer and expect that installed windows to work flawlessly with the new computer because of different graphic drivers, sound drivers, etc. The windows installation is tied to the original computer)
 
Old 06-11-2007, 11:00 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
Quote:
Originally Posted by kebabbert
I wonder, I have a Pentium 4 which is 32 bit. Can ZFS which is 128bit, work correctly if run by a 32 bit CPU?
No, a 128 bit CPU is required , just kidding. 32 bit is Okay.
Quote:
Does ZFS have different modes, according to the bit number of the cpu?
No, it however uses the endianness of the CPU, x86 and amd64 being both little endian, that shouldn't have any impact for you.
Quote:
A 32bit CPU with RAID-Z is inferior to a 64bit CPU with RAID-Z?
Not specifically.
Quote:
The reason I ask is, if I make a ZFS raid with 32 bit, and later change CPU to 64 bit, will the RAID-Z be inferior to, if I created the RAID-Z with 64 bit from start?
No, the ZFS will be identical.
Quote:
Must I upgrade to 64bit first and create the RAID-Z, or doesnt it matter how many bits I have? I can upgrade CPU to 64bit later, without affecting the RAID-Z?
No problem. However, be aware that a filesystem created with a newer version of ZFS won't be usable with an older Solaris release supporting only an earlier version of ZFS.
Quote:
And, if I upgrade cpu to 64bit, can I use the same ZFS raid flawlessly?
yes
Quote:
Or will there be trouble importing the ZFS RAID to the new 64bit CPU?
no
Quote:
(If I take a NTFS disc which stores divx films, and tuck it into another XP machine, the disc will work flawlessly.
But, if I take a disc which has windows XP installed, I can not install that disc into another empty computer and expect that installed windows to work flawlessly with the new computer because of different graphic drivers, sound drivers, etc. The windows installation is tied to the original computer)[/quote]That is true with most if not all operating systems, including Linux and Solaris. You cannot pick an O/S installed for a specific platform and expect the disk to work
on another one.
 
Old 06-11-2007, 02:25 PM   #3
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
Great! Thanx so much for your replies! I have so long wanted a ZFS raid and very very soon I am getting one! : o )

But, no external RAID-Z chassi for me. I will have a home made power switch tucked on, for the internal 4 discs. This way I can cut power on boot for the discs should I choose. I expect most of the time the RAID will be off. I will only use the system disc.

I hope there will be no problem for Solaris to recognize the RAID-Z when I reboot and turn on the power to the discs. Like, no requirement to format the drives or so. Ideally, Solaris will automatically recognize RAID-Z itself and make it available for use. And when I reboot with no power to the discs, Solaris will automatically recognize that there is no RAID-Z connected. Or, does this procedure also require manual fiddling with vfstab and prompt commands? Or will it be automatic?
 
Old 06-12-2007, 03:14 PM   #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
I'm not sure about what would happen if you reboot with the disks offline, but I suspect the system would stay in single user mode waiting for a manual action to fix the unrecoverable error.

It would be better to tell the O/S you want to stop using the pool (zpool export) before turning off the server, and run the "zpool import" command when you resume using it.

I haven't tried this, but I believe no other commands should be required.
 
Old 06-12-2007, 03:41 PM   #5
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
Ok I will try to read the manuals. Thanx for your help! You are my Hero! I am so glad to ditch Linux, and have talked about ZFS a lot, and my friends really want to see this! : o )


ZFS RAID, here I come!!!
 
  


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
LXer: EFI and ZFS LXer Syndicated Linux News 0 03-15-2007 09:16 PM
64 bit cpu, 32bit kernel? cougyr Debian 7 10-03-2006 12:55 PM
ZFS Root / Boot into ZFS from a usb flash drive Kataku Solaris / OpenSolaris 1 07-15-2006 04:13 AM
When will zfs be out? Thaidog Solaris / OpenSolaris 1 07-12-2005 08:01 AM
Reiser FS and ZFS bobwall Other *NIX 0 12-15-2004 08:20 AM

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

All times are GMT -5. The time now is 10:17 PM.

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