Originally posted by: SystemAdmin
Thanks! I'll have a look around for image.data stuff.
The source system from which the mksysb was created has a 4GB /usr. When trying to use this mksysb to install other systems using NIM, the install fails as follows:
Approximate Elapsed time
% tasks complete (in minutes)
Restore unable to write to file './usr/swat/help/Samba3-ByExample/images/chap4-net.png' .. Aborting!
Restore : No space left on device
BOS Install: Restore of Base Operating System from /NIM_BOS_IMAGE failed.
ID# OPTION
1 Continue
2 Perform System Maintenance and Then Continue
Enter ID number:
I selected option 2 and had a look at the filesystems. The file system sizes are all the default sizes you get when installing from DVD. E.g., 2GB /usr.
-
df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
SNIP /dev/hd4 192.00 191.60 1% 11 1% /mnt
/dev/hd11admin 128.00 127.64 1% 5 1% /mnt/admin
/dev/hd10opt 352.00 170.97 52% 7040 16% /mnt/opt
/dev/hd3 128.00 126.84 1% 47 1% /mnt/tmp
/dev/hd2 1920.00 0.07 100% 42066 91% /mnt/usr
/dev/hd9var 384.00 65.44 83% 9039 37% /mnt/var
/dev/livedump 256.00 255.64 1% 4 1% /mnt/var/adm/ras/livedump
A Jumpstart in Solaris would suffer the same problem. You need to ensure the file systems on the target are large enough. These are simply configured in a text "profile" file.
I guess what I am looking for is a way to specify the file system sizes myself, or for some way for the NIM installation to deal with this. Would seem like a common problem.