×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

/opt is 100% full in solaris 10

/opt is 100% full in solaris 10

/opt is 100% full in solaris 10

(OP)
Guys,

My /opt is 100% full - I've tried to do housekeeping but not much help. Now I want to Increase the disk space as I have plenty of vacant space which is not used in any slices but my disk is under SVM (solaris Volume Manager) and mirrored with another scsi disk.

It would be great help If some one provide me steps to Increase disk space. thanks!

RE: /opt is 100% full in solaris 10

(OP)
Thanks for the reply!

But my problem is - I dont have the free slice on my server but my disk got 30 GB free space.  

RE: /opt is 100% full in solaris 10

Can we see a prtvtoc /dev/rdsk/cNtNdNs2 of the 2 disks in question?

Annihilannic.

RE: /opt is 100% full in solaris 10

(OP)
# prtvtoc /dev/rdsk/c1t1d0s2
* /dev/rdsk/c1t1d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*     107 sectors/track
*      27 tracks/cylinder
*    2889 sectors/cylinder
*   24622 cylinders
*   24620 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*     4405725    115560   4521284
*    18411597  52715583  71127179
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00    1048707   1614951   2663657
       1      7    00    2663658    271566   2935223
       2      5    00          0  71127180  71127179
       3      3    01          0   1048707   1048706
       4      0    00   16314183   2097414  18411596
       5      0    00    2935224   1470501   4405724
       6      4    00    4521285   9695484  14216768
       7      8    00   14216769   2097414  16314182
#
 

RE: /opt is 100% full in solaris 10

I presume either slice 4 or 5 corresponds to /opt, do you know which one?  If it's 4 you may not need to create a new slice, as it is the last one before the free space, so you could increase its size.

You need to check the mirror disk as well though because the layout is not guaranteed to be identical.

Annihilannic.

RE: /opt is 100% full in solaris 10

(OP)
Its Slice no 5 and Its also mirrored. How can I create new slice ?

RE: /opt is 100% full in solaris 10

You can't create a new slice because they're all used up.  You might have to use soft partitions, which I know nothing about, but Ken or one of the others may be able to help with that.

Otherwise you could reorganise the disk, or even move /opt to another disk in the system, if there are a couple free.

To reorganise the disk, make sure you have a good backup, break the mirrors, repartition one of the disks the way you want it, boot from the reorganised disk, and then recreate your mirrors.  There are documents out there (probably not so far from the one Alan mentioned) which will go into the details for you.

Annihilannic.

RE: /opt is 100% full in solaris 10

As Anni suggested, you can soft partition one of your slices and use that to extend your /opt slice.

This document will walk you through the soft partition process;

http://sysunconfig.net/unixtips/soft-partitions.html

You can then add this new metadevice to extend your device holding /opt and use the growfs command to complete the job.

Remember to do this for both sides of the mirror.

The whole process from creating soft partitions to extending the file system is pretty straightforward, but if you have never done it before just follow the docs closely and it will be fine.
Good luck.

Alan
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close