"Growing" a file created with mkfile
edited May 31, 2011 6:14AM in Oracle Solaris File Systems and Disk Management (MOSC) 8 commentsAnswered
I am using LDoms on a T5440. I have created guest LDoms by installing the OS on a file created with mkfile on a ZFS volume in the service domain that is exported to the guest domain. If I have created the file as follows:
# mkfile 18g /export/ldom/ldom02/ldom02-root
How can I enlarge it to, say 25G? I don't think there is a way to "grow" the file, but if I created another that is say, 25G with mkfile, how can I copy the contents of the 18G ldom02-root file, which contains a bootable OS (Solaris 10 u9) to the new file?
0