Operating System - Tru64 Unix
1753820 Members
8405 Online
108805 Solutions
New Discussion юеВ

Re: Can I expand root easily on this disk?

 
Venkatesh BL
Honored Contributor

Re: Can I expand root easily on this disk?

If and when you re-partition the disk ensure that you have many 'usable' parititions that do not overlap with other partitions. You could use 'diskconfig' for that.

Say,
a: 512MB (root)
b: 2GB (for usr_domain)
f: 1GB (for swap)
g: 512MB (free)
h: 128MB (free)

This is close to what you've got. But, the difference is, 'g' and 'h' can be added as swap space if and when required.
(or)
If you temporarily want /tmp to be in a different filesystem, you could create an advfs domain for it with one of these disk parititions.
(or)
If you have 'Advanced AdvFS Utilities' license, you could add these disks to your existing usr_domain domain on demand!
Shardha
Valued Contributor

Re: Can I expand root easily on this disk?

Dear Swenson,

you can used following procedure to resize the partitions.

To restore (/ and /usr and /var).
/ file system
- boot cd
Provide the installation options (resize the paritions).
Let the installation procedure to create / swap /usr /var file systems.
Press control C when it starts coping subsets
Restore / file system
- cd /etc/fdmns
- mkdir root_domain
- cd root_domain
- ln -s /dev/rz0a
- mount root_domain#root /mnt
-/dev/MKDEVICE tz5x
# cd /mnt
#vrestore -i
-add /
-verbose
-extract
-umount /mnt

Restore /usr file system
- cd /etc/fdmns
- mkdir usr_domain
- cd usr_domain
- ln -s /dev/rz0g
- mount usr_domain#usr /mnt
# cd /mnt
# mt fst 1
#vrestore -i
-add /
-verbose
-extract
-umount /mnt

Restore /var file system
- cd /etc/fdmns
- mkdir var_domain
- cd var_domain
- ln -s /dev/re0h
- mount var_domain#var /mnt
# cd /mnt
# mt fst 2
#vrestore -i
-add /
-verbose
-extract
-umount /mnt
Now halt the system and boot normally.

Shardha
Shardha
Valued Contributor

Re: Can I expand root easily on this disk?

Dear Swenson,

you can used following procedure to resize the partitions.

To restore (/ and /usr and /var).
/ file system
- boot cd
Provide the installation options (resize the paritions).
Let the installation procedure to create / swap /usr /var file systems.
Press control C when it starts coping subsets
Restore / file system
- cd /etc/fdmns
- mkdir root_domain
- cd root_domain
- ln -s /dev/rz0a
- mount root_domain#root /mnt
-/dev/MKDEVICE tz5x
# cd /mnt
#vrestore -i
-add /
-verbose
-extract
-umount /mnt

Restore /usr file system
- cd /etc/fdmns
- mkdir usr_domain
- cd usr_domain
- ln -s /dev/rz0g
- mount usr_domain#usr /mnt
# cd /mnt
# mt fst 1
#vrestore -i
-add /
-verbose
-extract
-umount /mnt

Restore /var file system
- cd /etc/fdmns
- mkdir var_domain
- cd var_domain
- ln -s /dev/rz0h
- mount var_domain#var /mnt
# cd /mnt
# mt fst 2
#vrestore -i
-add /
-verbose
-extract
-umount /mnt
Now halt the system and boot normally.

Shardha