SUNWzsh (4.3.4) without largefile support on sxce 75 !
Im currently running sxce 75 and, as usual, downloaded the latest 3 x86 chunks (build 76) from the OpenSolaris site.After unzipping and having verified the chunks' md5 checksums ( digest -va md5 file is yur friend ) it was time to concat the 3 files together to create the iso which is needed for the LiveUpgrade process.
mcp% cat sol-nv-b76-x86-dvd-iso-a sol-nv-b76-x86-dvd-iso-b sol-nv-b76-x86-dvd-iso-c > sol-nv-b76-x86-dvd.iso
after waiting awhile i suddenly got a ' cat: write error: File too large '. (the output file at that point was about 2 gigs in size).
further investigation showed nuffin out of the ordinary at first
plenty of available storage space on my ZFS filesystem ( so i didn't hafta investigate whether that particular filesystem was mounted with 'largefiles' cuz that is the default with ZFS ).
mcp% zfs list -o name,used,available,reservation,quota mypool/home/foo
NAME USED AVAIL RESERV QUOTA
mypool/home/foo 18.2G 22.8G none none
so also NO reservations set and NO quota to mess stuff up!
so what the hell was going on here ?!?!
after digging even further i came to the conclusion that the shell meh was using (/bin/zsh from SUNWzsh) had been compiled without largefile support !
i've always used zsh from SUNWzsh on previous sxce builds too and never hit this problem before!
after switching to bash from SUNWbash i was able to successfully create the iso to start the usual LiveUpgrade routine to be able to boot into sxce 76.
i'm curious as to whether i will hit this problem again during creation of the 77 iso using SUNWzsh when i'm actually running 76!

1 Comments:
Taken from a reply to mah post on the OpenSolaris bug forum: http://www.opensolaris.org/jive/thread.jspa?threadID=44290&tstart=0
"The large file support was accidentally disabled due to the way the
Sun Freeware (SFW) consolidation is built. An OpenSolaris user logged the
following bug:
6621595 zsh 4.3.4 missing largefile support
http://bugs.opensolaris.org/view_bug.do?bug_id=6621595
and this has been addressed in build 77 of Nevada / SXCE".
w00t :P
Post a Comment
<< Home