LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-19-2007, 09:18 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Resize file system


Let's say that file system layout looks like this:
Code:
/                   c1t0d0s0 1400 MB
/usr                c1t0d0s1 10000 MB
/export/home        c1t0d0s3  100 MB
/opt                c1t0d0s4 23229 MB
empty/free          c1t0d0s5 30000 MB
Suddenly admin realized that root partitioon (/) is too small and will overfull very soon.
Is there any way to resize root file system adding to it 10000 MB from c1t0d0s5 (hope there is no need to use metadevices and software RAID).
 
Old 09-19-2007, 10:16 AM   #2
Kacper86
LQ Newbie
 
Registered: Aug 2007
Posts: 11

Rep: Reputation: 0
http://gparted.sourceforge.net/
it's often included in knoppix, so you can boot knoppix from cd and make the resize
 
Old 09-19-2007, 11:15 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
c'mon! im talking about professional solutions!... any way im not sure there is SPARC version of knopix nad that parted not qtparted support UFS (yes parted as i need command line is possible only)
 
Old 09-19-2007, 11:52 AM   #4
Kacper86
LQ Newbie
 
Registered: Aug 2007
Posts: 11

Rep: Reputation: 0
according to google:
http://www.brandonhutchinson.com/Res...le_system.html
http://www.unixadmintalk.com/f34/ufs-resize-783/
you can extend your ufs partitions.

some claim you can even shrink them:
http://www.yonahruss.com/2007/03/how...artitions.html
however i don't think it will be necessary in your case, cause you should be able to delete your "empty" partition.
 
Old 09-20-2007, 11:24 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by czezz View Post
Let's say that file system layout looks like this:
Code:
/                   c1t0d0s0 1400 MB
/usr                c1t0d0s1 10000 MB
/export/home        c1t0d0s3  100 MB
/opt                c1t0d0s4 23229 MB
empty/free          c1t0d0s5 30000 MB
Suddenly admin realized that root partitioon (/) is too small and will overfull very soon.
A common situation.
Quote:
Is there any way to resize root file system adding to it 10000 MB from c1t0d0s5 (hope there is no need to use metadevices and software RAID).
You can do it if s0 and s5 are contiguous, which is unlikely. To be sure, post prtvtoc output.
Otherwise, more intrusive solutions like shifting partitions or backup/restore operations are required.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize a file with a size of 0 smaudlin Linux - General 2 11-12-2005 12:33 AM
Resize a file seriesx4 Linux - General 2 10-23-2005 09:43 AM
Resize and Rotate - System Tray Mr T Donegal Mandriva 2 10-27-2004 08:09 PM
Used Acronis to resize a partition now the system won't boot high_hopes Linux - Newbie 3 07-12-2004 01:33 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration