Increasing allocated space to a mount - possible?


 
Thread Tools Search this Thread
Operating Systems Solaris Increasing allocated space to a mount - possible?
# 22  
Old 06-28-2009
I'm afraid that statement is a little late but /usr as a symbolic link is absolutely unsupported and will make your OS unusable.
/usr must be either part of the root filesystem (/) or a mountpoint for a dedicated filesystem.
Even if you manage to have a working system with hacks, package installation or patches will remove that link and break the OS again.
# 23  
Old 06-28-2009
You are absolutely right on that.
I've also reverted the "usr"-link plan and doing an on-going restore attempt (since it's acting up a bit).

Should a reinstall be needed, it's just a question of burning a new Solaris ISO and starting over. However, I like playing a bit with it even though I am not super-experienced with Solaris, but I learn much more from this and from Scott's help than giving up and reinstalling the OS Smilie
# 24  
Old 06-28-2009
Quote:
Originally Posted by jlliagre
I'm afraid that statement is a little late but /usr as a symbolic link is absolutely unsupported and will make your OS unusable.
/usr must be either part of the root filesystem (/) or a mountpoint for a dedicated filesystem.
Even if you manage to have a working system with hacks, package installation or patches will remove that link and break the OS again.
Oh no, I forgot to come back to this. What jlliagre said was exactly why I was asking about the layout and saying that the way to do this was probably not as you would expect. I wanted to avoid the symbolic link, it really doesn't work.

If you haven't done the restore yet, or even if you have it is possible to move /usr without reinstalling. Can you let us know exactly where things are at right now?
# 25  
Old 06-28-2009
Yes, it was never the intention to end up with /usr -> /export/usr.

That just kinda happened by accident along the way!

I repeated what brightstorm had done, on my Solaris, but was able to repair it. The problem now is that brightstorn has lost most of his /usr directory. And we're not quite sure where it went! (not sure an fsck will help as we've rebooted a couple of times along the way)
# 26  
Old 06-28-2009
To sum up what have happened so far;

1. I mistakenly moved the entire /usr dir to /export/usr
2. /usr was replaced with a link (usr -> /export/usr)
3. Problems become obvious after reboot
4. Restore
4.1. Mount root: /etc/mount -o remount,rw /
4.2. Delete usr link: rm usr
4.3. Re-create /usr: mkdir /usr
4.4. Restore files: mv /export/usr/* /usr
5. Reboot reveals that not all data made it to /usr as Scott finds several differences in the data I provide as we go along.

Newest things have been to manually create a /usr/sbin directory and copy all files from /sbin to it to fix a startup error (startup was looking for /usr/sbin/fsck).

As it stands, it cannot mount /dev/fd, and Scott have been puzzling a bit with where the data could've gone Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to sum up the space allocated to filesystems

Hi , I Would like to know the space allocated by adding up all the allocated space to group of filesystems .. example , df -h|grep /db | awk '{ print $4 }' ---> giving me all the used space on the filesystem but need to know the total used space by adding up all the values (3 Replies)
Discussion started by: nsankineni
3 Replies

2. UNIX for Dummies Questions & Answers

How to find the disk space allocated.

Hello, I need to find the total allocated disk space for the home directory. How can i find that in unix?(in GB). Thanks. (4 Replies)
Discussion started by: kailash19
4 Replies

3. Solaris

How much portion of RAM is allocated to Swap space?

How swap is getting 12GB as its size as per the below output: Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 7.9G 2.1G 5.7G 27% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 12G 1.2M 12G 1%... (3 Replies)
Discussion started by: ramnagaraj
3 Replies

4. Solaris

Increasing disk space of a mount point.

Hi I have a mount point that is in production environment, and is currently filled up. more space has been presented from same original source (EVA). Problem; 1. Can't see presented space 2. After I discover the presented space, how do I go about adding this new space to existing mount point.... (9 Replies)
Discussion started by: Targ
9 Replies

5. UNIX for Dummies Questions & Answers

Increasing swap space

I searched the archives first, but found that there are alot of mixed answers on whether swap space can or can not be increased. Some postings said swap space can be increased using the swap or growfs commands while other postings said you can not increase the permanent size of the swap space. ... (1 Reply)
Discussion started by: Kevin1166
1 Replies

6. Solaris

Can be changeed the allocated space

i am working with solaris 9 and my disk usages are # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 2148263 1902721 202577 91% / /proc 0 0 0 0% /proc mnttab 0 0 0 ... (3 Replies)
Discussion started by: smartgupta
3 Replies

7. UNIX for Dummies Questions & Answers

Best ways of increasing space on a partition

Hi, On one of our solaris servers, the root partition has filled up,(it was poorly sized in the first place), Does anyone have any advice about the best way to add space to a partition. I'm sure I've read how to do this somewhere before but just can't remember...:( A colleague has suggested... (1 Reply)
Discussion started by: kenny123m
1 Replies

8. UNIX for Dummies Questions & Answers

df+du=Total space allocated(for a file system)

Hi All, Will df+du=Total space allocted for a file system?? Is the above correct. Please correct me If iam wrong. In one my programs the above is not happening. Please help me out. Many thanks. Regards, Manas (2 Replies)
Discussion started by: manas6
2 Replies

9. UNIX for Advanced & Expert Users

Increasing filesystem space

Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day. what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies

10. UNIX for Dummies Questions & Answers

Swap space used greater than allocated using top

Hi there, When I run top on my machine it says I have 497M swap space in use, and 380M swap space free, but I have only allocated 512M swap space to the machine!!!! Does anyone know how swap used is calculated in the top command? Thanks... (1 Reply)
Discussion started by: chorgan
1 Replies
Login or Register to Ask a Question