Casper and All who Replied;
Firstly, thanks for taking time off to reply my email!
The system concerned is a SunFire 240 with 2 x CPU 1050 Mhz, 2 Gbyte RAM
and 4 internal SCSI disk (c1t0d0,c1t1d0,c1t2d0,c1t3d0)
It's a lab machine.
I booted Solaris 8 2/04 off CDROM and got to single user mode.
Subsequently I did a ufsdump from the root disk (c1t0d0s0) to another
disk (c1t1d0s0). (after prvtoc and newfs)
The v240 has only SCSI internal disks.
After duplicating the root disk to c1t1d0s0, (and doing some cleanup and
installboot and stuff), I booted off c1t1d0s0 (newly cloned disks) and
then went to multi user mode.
I then did a another ufsdump/ufsrestore from the original disk
(c1t0d0s0) to yet another disk (c1t2d0s0).
The 2nd ufsdump/ufsrestore operation was done in run level 3.
Of course, there were the appropriate newfs operation and in this I have
noticed that it was also much slower in single user mode than in run
level 3.
/tmp is NOT mounted in Solaris 8 2/04 single user mode.
Warmest Regards
Steven Sim
p.s. I will try fastfs but fastfs is not available in the standard
Solaris image. I'll experiment with it though....thanks for the tip Anthony!
Steven Sim wrote:
Hello;
I frequently conduct the following operation;
#ufsdump 0f - <unmounted ufs raw device> | (cd /mnt; ufsrestore xf -)
I have noticed that the above takes place so much slower in single user
mode than in multi user mode.
A newfs operation on a local block device is also much slower in single
user mode than in run level 3.
I'm sure there is a reason for this but it eludes me.....
Also, would the mounting /mnt with the ufs forcedirectio option make the
ufsrestore faster?
e.g.
#mount -F ufs -o forcedirectio /dev/dsk/c1t1d0s5 /mnt
Warmest Regards
Steven Sim
That's a weird one.
Is the /tmp filesystem mounted in single user mode? Do
these utilities rely on /tmp files?
You might add which version of Solaris and which hardware to
help us guess more accurately :-).
Perhaps we need to understand which OS release this is exactlyu and
how single user boot is done.
(If it boots from a pre-S10 network image, SCSI options will be set
to "crawl")
Casper
Fujitsu Asia Pte. Ltd.
_____________________________________________________
This e-mail is confidential and may also be privileged. If you are not the intended recipient, please notify us immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.
Opinions, conclusions and other information in this message that do not relate
to the official business of my firm shall be understood as neither given nor
endorsed by it.
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org