Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding more space to /usr

Status
Not open for further replies.

Mickelkpg

IS-IT--Management
Oct 15, 2001
34
SE
I have a SUN 450 with disksuite installed.
I now have to add more diskspace to /usr.
How can I do that?
I understand that I can't do it from within disksuite.
Is it possible any other way?

Kind regards // Mikael Lindman
 
As far as I know, there is no reason why you cannot use disksuite to grow your /usr partition. If you require advice on using disksuite to do so, post again. HTH.
 
Hello!
I have not used disksuite before, but when I read the manual
it says that growfs can not be used when the filesystem is
root, /usr or swap.
Is that not true?

Kind regards // Micke
 
If you have unused slices on any disk they can be used to growfs on /usr.
You can add another drive and partition it to add space to /usr.
Yes you can grow /usr if it is a meta slice.

 
Thank you for your answers.
Can you tell me step by step how i should do this.
I shall install 2 new disks (1 for mirroring)
It is 18GB disk and I think I will add 9GB to /usr.

Kind regards //Micke
 
Guys, pardon me for intruding, but I am just beginning to transition into the Solaris environment after an exclusive run on Windows administration. This thread is referencing a utility called Disksuite. Can it assist with my situation? I have a Solaris 8 server with two 34 gig drives. The initial load of OS and related software has taken little more than 1 gig on drive 0. I have a third party application that collects data from site routers at a rate of approximately 8 gig per day. I want to combine the remaining resources from drive 0 (32+ gig) with all 34 gig from drive 1, affording me enough filesystem space to store 7 days worth of data. Will Disksuite offer this capability, or is there another product that will perform better to suite my needs? Thanks for your advice. - Mark
 
You mentioned two disk, are you planning or mirrowing?
Before any help can be given I would need to look at an output of metastat and vfstab of your system.

 
I will not be doing any mirroring. I currently have drive 1 set up as one, single partition and mounted on a file system. Now that I know how much space is required for the other mounts to support the OS and utilities, I will probably wipe everything clean and re-partition to optimize the disk space. Ultimately, I want to combine a mount of approximately 30 gig on drive 0 with the 34 gig mount of drive 1 to be handled as a single, contiguous file system.
 
Using Disksuit you can set up the two partitians as a concatination. (this adds the two partitians together as one logical drive )
 
Sorry, haven't had time to go into this in detail (probs with an old RS6000!), but an excellent starting point is the on-line documentation at
Do a search for disksuite on that site and you should be able to find out how to add space using both the GUI tool and via the command line. Hope this helps.
 
Ok guys, thanks for the tip on DiskSuite. I loaded it and have it available through Solaris Management Console (SMS). Now, here is my challenge and I'll try to explain as clearly as possible in the fewest words. I have two drives, C0T0D0 and C0T1D0; both are 34 gig in size. I have them partitioned as:
c0t0d0s0 - /root 1.5 gig
c0t0d0s1 - /swap .5 gig
c0d0t0s6 - /usr 5.0 gig
c0d0t0s3 - /opt 27.0 gig
c0d1t0s1 - /cisco 34.0 gig
All the partitions (slices) are set up as UFS file systems. I want to combine the resources from the /opt and /cisco slices as one file system. DiskSuite affords the capability of creating a volume using both drives, and will change the file systems over to NFS. What will this do the current slices, /root, /swap and /usr? Will I lose the data on those slices, including my operating system? When I load the Solaris OS, I have not seen an option to create a volume with the two drives prior to loading the OS. Since we want to load the OS locally (as opposed to a network load), is having a third, smaller drive (i.e. 8 gig) the only solution to achieve what I want?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top