Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Currently, I have a 9 gig drive which is partitioned into 7 slices. However, my root slice (/) is only 1 gig. How can I resize it to say 3 gigs? I have another slice that is 7 gigs, so in theory I can just 'take' the space from there...How can I do so?I was told that ODS can do this..but when I launch metatool, it complains that
"The Metastate Database (metadb) contains no replicas."
Does anyone know how to setup metadb for a machine with two separate hard-drives? I do not want to mirror the drives though.....
Any links or help will be appreciated. Thank you.

Hi,
what the hell you are using / for? It is always the best to configure /usr /opt and so on, and don't use this directories in root-space.So ... I think it is also not easy to increase space with ODS.
What to do ... use the other slices on the hdd. Configure these slices to use each slice with /usr /opt /home and so on.
Than you don't need space on root.
Heiok

Hi,
I've never try to expand the root slice using ODS, but in theory, you can expand the stand slice using ODS via concatenate, if another slice is 7G and it is the last slice on the disk(call it /data), you are luck!(otherwise even though you shrink the bigger slice, but the free space is not at the end of disk or there are other slices following it, the system won't let you use the free space between the slices)
What you can do is make sure on /data slice, there are at least 3G free space. Then unmount that slice first, using format to resize that slice to shrink it 3G smaller, lable it, and it won't destory your orginal data on /data. Then save metadb's replicas at least 3 locations(you can create a small slice like 5M to store it, it better for you to store it at different disk or controller). Then create conc objects and drag / slice onto it and also drag the free end slice onto it, commit it to see what happens.
I never try to expend root, I suggest you to backup all the data and try this way, wish this will help!

Anthony why do u need more space in root , do u have seperate /var and /.usr if not what u can do is do a ufsdump of ur /var to the new file system ie slice 7 and remove var dir from ur roto slice mount it from vfstab
UR LUCKY since u didn't have ,metadatabase u couldn't procced ahead u CANT CONACTE A ROOT FILE SYSTEM u would have screwed ur m/c i f u need help mail me back
regards
gmb

Hi, there:
I have already tried expand my / file system using conc/stripe on my Solaris8 Intel box, it works and everything is fine. So my conclusion is we can use ODS to expand root file system!
The following are some data on my box:lina-out /> more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0d0s1 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no -
/dev/dsk/c0d0s3 /dev/rdsk/c0d0s3 /export/home ufs 2 yes -
#/dev/dsk/c0d0s4 /dev/rdsk/c0d0s4 /lina ufs 2 yes -
swap - /tmp tmpfs - yes -
/dev/dsk/c0d0p0:1 - /c: pcfs - yes -Actually I concat/stripe slice c0d0s4 on to root file system.
lina-out /> df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d0 2205262 993762 1167395 46% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 169732 8 169724 1% /var/run
swap 170016 292 169724 1% /tmp
/dev/dsk/c0d0p0:1 2096160 1099296 996864 53% /c:
/dev/dsk/c0d0s3 480815 58 432676 1% /export/homelina-out /> metastat d0
d0: Concat/Stripe
Size: 5110560 blocks
Stripe 0:
Device Start Block Dbase
c0d0s0 0 No
Stripe 1:
Device Start Block Dbase
c0d0s4 0 No

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |