Host System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. running Solaris 11.3.
Last login: Tue Sep 19 14:42:42 2017 from xxx.xxx.xxx
Oracle Corporation SunOS 5.11 11.3 June 2017
$ uname -a
SunOS sog01 5.11 11.3 sun4v sparc sun4v
$
Original physical systems: Sun Blade 100s running Solaris 10
Last login: Tue Sep 19 15:40:03 2017 from xxx.xxx.xxx
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have mail.
$ uname -a
SunOS yyyy 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Blade-100
$
I have managed to use the ldmp2v(1M)
utility to turn one of these systems into a client LDOM of the host system (using the downloaded ISO file sol-10-u11-ga-sparc-dvd.iso
):
Last login: Fri Sep 15 09:14:39 2017 from xxx.xxx.xxx
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have new mail.
$ uname -a
SunOS zzzz 5.10 Generic_147147-26 sun4v sparc sun4v
$
Unfortunately I have just noticed that the root file system of this LDOM is now full:
$ df -h /
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 15G 15G 0K 100% /
Contents of /etc/vfstab:
/dev/dsk/c0d0s1 - - swap - no -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no -
/dev/dsk/c0d0s7 /dev/rdsk/c0d0s7 /export/home ufs 2 yes -
/dev/dsk/c0d0
is a ZFS volume on the host system, and the client file systems are, as you can see, UFS.
So the question is: Can I increase the size of the LDOM root partition easily, and if so, how? The alternative is to destroy this LDOM and recreate it using the -m
option to ldmp2v
to increase the size of the root partition. Not a problem, but not something I want to keep doing every time I get something wrong.
Andrew