Re: /var Increase

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 11/10/05


Date: Thu, 10 Nov 2005 00:52:22 GMT

Michael Vilain <vilain@spamcop.net> wrote:

> To expand on this, expanding a partition that's not under a volume
> manager's control can be a problem. If /var has an adjacent slice that
> can be made smaller, you can take space from the adjacent slice and give
> it to the /var slice. Note this won't grow the filesystem. I don't
> recall if growfs is present on systems without Disksuite or SVM.

It's not, but you can run 'mkfs' with flags that do the same thing. The
exact syntax is in the Solaris 2 FAQ.

> The "old school" approach is to backup the entire system disk, boot from
> the CD, re-partition the disk to your liking, restore from backups, and
> write a boot block. Has this changed with the advent of SVM becoming
> part of the Solaris?

Not really. SDS/SVM doesn't really make it any easier to move slices
around, and it's still impossible to shrink UFS filesystems.

So unless you setup the system with free space for things to grow into,
and the things you want to grow aren't boot critical, then it doesn't
help much.

I think "newer school" is to put all OS filesystems into one filesystem so
you never have to repartition....

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >


Relevant Pages

  • Re: AIX guy needs help with Solaris file systems
    ... >> I have inherited a Solaris 8 sparc box and need help to increase the ... > You can't easily increase the size of a filesystem like you can in AIX ... Slice 2 represents the whole disk. ...
    (comp.unix.solaris)
  • Re: system disk, SVM soft partitions, live upgrade = OK?
    ... >> kernel on a UFS filesystem on a VTOC slice). ... > are on soft partitions. ... had LU put / on a plain disk slice and had it put /usr on one of the ...
    (comp.unix.solaris)
  • SUMMARY CORRECTION: reference to really low level filesystem docs ?
    ... and Sector 16 of each SLICE. ... > LAYOUT OF A SINGLE DISK SLICE WITH UFS: ... > but a large array of pointers to the next 2048 data blocks. ... > VIEWING A FILE'S LAYOUT ON THE FILESYSTEM ...
    (SunManagers)
  • Re: system disk, SVM soft partitions, live upgrade = OK?
    ... After reading a bunch of Solaris 9 manuals, ... > grow those soft partitions and filesystems as the need arises. ... If you're already using slice 1 for swap, how are you going to put other ... with soft partitions for any OS filesystem. ...
    (comp.unix.solaris)
  • Re: Grow Filesystems Dynamically
    ... Indeed you can grow the / filesystem without VxVM or SDS. ... -> to have unused space on the disk that contains the / slice AFTER ... if all ok now you can grow the / file system to the size of the ...
    (comp.unix.solaris)