The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't mount slice kingdbag SUN Solaris 2 05-06-2008 06:18 PM
How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE nageswarb SUN Solaris 0 03-14-2008 04:46 PM
mirroring the boot slice (slice 8) on x86 hcclnoodles SUN Solaris 0 11-14-2006 07:30 AM
4 procs, can I slice ? A Stewart AIX 1 06-30-2005 11:32 AM
New Sds Slice guillaume35 Filesystems, Disks and Memory 1 06-03-2002 01:36 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-05-2004
obsolesence obsolesence is offline
Registered User
  
 

Join Date: Jul 2002
Location: Okinawa, Japan
Posts: 3
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 (permalink)  
Old 01-05-2004
jsilva's Avatar
jsilva jsilva is offline
Registered User
  
 

Join Date: Apr 2003
Posts: 169
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 (permalink)  
Old 01-05-2004
obsolesence obsolesence is offline
Registered User
  
 

Join Date: Jul 2002
Location: Okinawa, Japan
Posts: 3
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0