Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Increase disk size of guest domain

Solaris


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-19-2017   -   Original Discussion by apmcd47
apmcd47's Unix or Linux Image
apmcd47 apmcd47 is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 13 December 2017, 3:43 PM EST
Posts: 284
Thanks: 13
Thanked 76 Times in 73 Posts
Increase disk size of guest domain

Host System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. running Solaris 11.3.


Code:
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


Code:
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):

Code:
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:

Code:
$ df -h /
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d0s0         15G    15G     0K   100%    /

Contents of /etc/vfstab:

Code:
/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
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increase disk size on OS side on the fly goldenboy SCO 13 11-07-2016 04:32 PM
Can´t install Solaris in guest domain MuziKizuM Solaris 6 09-16-2015 01:11 AM
Delete syslog but size disk can't increase edydsuranta Solaris 7 10-01-2012 01:01 PM
How to increase Virtual Disk size kishorbhede AIX 7 05-27-2009 08:21 AM



All times are GMT -4. The time now is 04:02 AM.