Is it possible to resize a slice under Solaris 8


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Is it possible to resize a slice under Solaris 8
# 1  
Old 01-05-2004
Is it possible to resize a slice under Solaris 8

I have encountered my first problem of the year at work with one of our NMS servers. We would like to migrate Cisco Works to Solaris, as it is currently running on NT. The NMS is already running OpenView NNM 6.2 (primary NMS program). Anyhow the /var slice is only 6 mb and is almost full, as this is where OpenView NNM keeps it's database files. Cisco Works requires that 5 mb on /var at least be free in order for installation. So, does anyone have a possible work-around for this scenario? There is plenty of free space on the /usr and /home slices which could accomodate the data.

Thanks in advance.
# 2  
Old 01-05-2004
Hi,

You cannot "resize" a slice, but you can grow a filesystem ( it's not possible to shrink it again ! )... I assume that you don't have any volume manager installed... Advice: backup, backup, backup !

Is you have unallocated space beyond the slice you're extending, use /usr/lib/fs/ufs/mkfs -G -M /mountpoint /dev/rdsk/cxtxdxsx size .

Otherwise you can do it more safely this way:
umount filesystem ( if cannot be umounted, start in single user mode, using the CD ), backup the filesystem, resize the slice, create new filesystem, restore the backup onto this new filesystem, update /etc/vfstab, reboot...

Did i mention to backup ?... :-)

Good luck !
# 3  
Old 01-05-2004
Thanks for the info

Thank you for your input. I really didn't think that we would have a chance to "resize" the slice per se and I really wanted some confirmation. I will run the idea by others involved on the project to see if it is something they would be willing to try. Thanks again.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 Volume Manager - adding slice to metadb

Hi all, I added a new disk slice to the current metadb. Below is what I see bash-3.2# metadb -i flags first blk block count a m p luo 16 8192 /dev/dsk/c0t0d0s7 a p luo 8208 8192 ... (3 Replies)
Discussion started by: javanoob
3 Replies

2. Solaris

Solaris: Expanding / Extending a mount point / Slice

I'm new to UNIX, sort of inherited this job. I have an HP lefthand SAN, where I added 100GB to one of the volumes. As I understand I also have to expand the volume on the server (solaris 10 ) as well. So, how do I do that? The file system is called: sybdump. the mount point is /export/xxx/sybdump.... (19 Replies)
Discussion started by: Spaseman
19 Replies

3. Solaris

How to make Multiple partitions in a slice (solaris sparc 10)?

I am using Solaris Sparc 10,and facing some issues. HD:80gb ; Root = 11gb(currently using) , I have made a parttition in the c0t0d0s2 slice(which is of 60gb & the partition tag is 'usr'),and I have done newfs on -> /dev/dsk/c0t0d0s2 which is mounted on /export (having ufs filesystem). Now... (6 Replies)
Discussion started by: big_zer0
6 Replies

4. Solaris

What is the speciality of slice 2?

Part Tag Flag Cylinders Size Blocks 0 root wm 259 - 2666 4.70GB (2408/0/0) 9863168 1 swap wu 3 - 258 512.00MB (256/0/0) 1048576 2 backup wm 0 - 4091 7.99GB (4092/0/0) 16760832 3... (4 Replies)
Discussion started by: chidori
4 Replies

5. UNIX for Dummies Questions & Answers

Solaris 2.6 - Duplicate Filesystem to a larger slice(same drive)

One of our production systems has a slice called "oldslice" that periodically runs low on space during normal operation. We have minimum requirements for online data retention, and whoever sized this slice didn't give it much wiggle room, so it periodically runs low on space. I'm getting tired of... (1 Reply)
Discussion started by: the.gooch
1 Replies

6. UNIX for Dummies Questions & Answers

resize a filesystem in solaris 10

i am facing a problem, i would like to resize a file system called /pcard04 i am not useing any voulme manager and we have a NETAPP center storge. what i did is root@cms-dev # df -h | grep /pcard04 /dev/dsk/c4t60A9800043346C35636F2D6D4F354743d0s0 5.2G 4.0G 1.0G 80% /pcard04 then... (1 Reply)
Discussion started by: q8devilish
1 Replies

7. IP Networking

NEWBE Slice

I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies

8. Solaris

Netapp filer LUN Resize. Commands to run on Solaris afterwards.

Hi, I need to increase a veritas filesystem I have currently mounted on a Solaris 10 server. We can resize the LUN on the NetApp filer no problem. What I need to know is what do I do next on the Solaris 10 server I have so that it will see the increase in size. Do I run 'devfsadm' to... (3 Replies)
Discussion started by: gwhelan
3 Replies

9. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

10. Solaris

mirroring the boot slice (slice 8) on x86

Hi there I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
Login or Register to Ask a Question