- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Can I expand root easily on this disk?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 08:57 AM
04-11-2006 08:57 AM
Can I expand root easily on this disk?
a = root (128MB, root_domain)
b = swap (2GB)
g = usr patchkit (2GB, usr_domain)
'df -k' produces these results:
Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 131720 115834 8816 93% /
/proc 0 0 0 100% /proc
usr_domain#usr 2097144 1324614 563416 71% /usr
Is it possible to backup /usr to tape, then drop the size from 2GB to 1GB, move swap as an intact 2GB file, and then expand root to 1GB or am I being way too simplistic? Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 09:10 AM
04-11-2006 09:10 AM
Re: Can I expand root easily on this disk?
I would dump all to tape, boot from cdrom, create new disklabel, file systems and restore from tape.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 09:38 AM
04-11-2006 09:38 AM
Re: Can I expand root easily on this disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:00 AM
04-11-2006 10:00 AM
Re: Can I expand root easily on this disk?
you could have mentioned your OS version.
The latest version will support /root expansion using usual "mount -o extend" cmd.
Also if the root is on LSM volume or a RAID/SAN type controller that allows extending an existing volume it might be easier, but this is possible only with the latest release.
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:03 AM
04-11-2006 10:03 AM
Re: Can I expand root easily on this disk?
The other way is as other said that backing up, re-install with expanded root size and restore.
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 01:31 AM
04-12-2006 01:31 AM
Re: Can I expand root easily on this disk?
The reason I'm looking to expand 'root' is because I only have abouyt 8MB of free space left (out of 128MB), and I anticipate that 5.1a will want much more space than that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 01:40 AM
04-12-2006 01:40 AM
Re: Can I expand root easily on this disk?
Or you can move root to another bigger disk.
If you have to upgrade, do it to supported version, i.e. 5.1B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 02:09 AM
04-12-2006 02:09 AM
Re: Can I expand root easily on this disk?
when you do that can't you replace the disk with a bigger one?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 02:21 AM
04-12-2006 02:21 AM
Re: Can I expand root easily on this disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 02:34 AM
04-12-2006 02:34 AM
Re: Can I expand root easily on this disk?
1GB should be really enough. Oracle needs a lot of temporary space during installation but you could give /tmp its own space and you could move swap to another disk.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 03:05 AM
04-12-2006 03:05 AM
Re: Can I expand root easily on this disk?
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 11:24 PM
04-28-2006 11:24 PM
Re: Can I expand root easily on this disk?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 11:24 PM
04-28-2006 11:24 PM
Re: Can I expand root easily on this disk?
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