Unix administration - increasing opt partition

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > July 2006 > increasing opt partition





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author increasing opt partition
Superman

2006-07-19, 7:25 pm

I require some help I think on this please.

I have a Sparc20 with an internal 2Gb disk (IBM) as c0t3d0.
I also have external 4Gb disks as c0t0d0 and c0t2d0.
Running Solaris 7.

My /opt dir is on the internal (t3) disk, which is full, I wish to
move this onto the t0 disk, but am having problems doing this.
I cp'd the dir across and edited vfstab by hashing out the original entry
and
replacing with the new entry pointing to the new disk. This did not work!!

What am I doing wrong? I was thinking of reformatting all drives, and doing
a fresh partition setup and install of the O/S/ I may upgrade this at some
point
to Sol 9.

Any info or pointers etc would be most welcome.

Regards
Neil


Michael Tosch

2006-07-20, 7:51 am

Superman wrote:
> I require some help I think on this please.
>
> I have a Sparc20 with an internal 2Gb disk (IBM) as c0t3d0.
> I also have external 4Gb disks as c0t0d0 and c0t2d0.
> Running Solaris 7.
>
> My /opt dir is on the internal (t3) disk, which is full, I wish to
> move this onto the t0 disk, but am having problems doing this.
> I cp'd the dir across and edited vfstab by hashing out the original entry
> and
> replacing with the new entry pointing to the new disk. This did not work!!
>
> What am I doing wrong? I was thinking of reformatting all drives, and doing
> a fresh partition setup and install of the O/S/ I may upgrade this at some
> point
> to Sol 9.
>
> Any info or pointers etc would be most welcome.
>


After changing vfstab you should manually
umount /opt
mount /opt

or do a reboot so the new disk is mounted at boot.

Ensure you have a "yes" in the "mount at boot" column in vfstab.


--
Michael Tosch @ hp : com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com