Re-allocate disk space


 
Thread Tools Search this Thread
Operating Systems Solaris Re-allocate disk space
# 1  
Old 11-29-2009
Re-allocate disk space

I am running out of space, and would like to reallocate some "wasted" space.

Here is what I see:

Code:
> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/dsk/c0t0d0s0     5.4G  4.5G  860M  85% /
swap                  2.0G  1.3M  2.0G   1% /etc/svc/volatile
swap                  2.0G  432K  2.0G   1% /tmp
swap                  2.0G   40K  2.0G   1% /var/run
/dev/dsk/c0t1d0s7     8.4G  515M  7.8G   7% /home
/dev/dsk/c0t0d0s7     2.1G  1.5G  483M  76% /export/home

I do not need the information or partition of: /dev/dsk/c0t1d0s7 8.4G 515M 7.8G 7% /home

But I do not want to lose the info or reformat the entire machine.
Is there a way I can edit the vfstab or are there and utilities I can use to get rid of /dev/dsk/c0t1d0s7 /home and reallocate it between my slice0 and slice7 /export/home ?

Code:
"vfstab" 13 lines, 479 characters 
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no      -
/dev/dsk/c0t0d0s7       /dev/rdsk/c0t0d0s7      /export/home    ufs     2       yes     -
/dev/dsk/c0t1d0s7       /dev/rdsk/c0t1d0s7      /home   ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -

# 2  
Old 11-29-2009
# 3  
Old 11-29-2009
Incredible, the OP isn't using SDS so most of the information in the link you posted is irrelevant.
Ippy98, it is probably possible to growfs s0 assuming s7 is contiguous to it, which it is likely. However, that operation is pretty risky for anyone not familiar with the process so I would suggest you to first make sure you have a reliable backup.
# 4  
Old 11-30-2009
Quote:
Originally Posted by jlliagre
Incredible, the OP isn't using SDS so most of the information in the link you posted is irrelevant.
Ippy98, it is probably possible to growfs s0 assuming s7 is contiguous to it, which it is likely. However, that operation is pretty risky for anyone not familiar with the process so I would suggest you to first make sure you have a reliable backup.
Was a good thought, but doesn't look like growfs will work either Smilie


Quote:
The following conditions prevent you from expanding file systems:
When acct is activated and the accounting file is on the target device.
When C2 security is activated and the logging file is on the target file system.
When there is a local swap file in the target file system.
When the file system is root (/), /usr, or swap.
# 5  
Old 11-30-2009
This doesn't prevent to grow root (/). You simply need to boot using another root device. The simpler is booting on an installation CD/DVD.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

F7fa22c9 i o sysj2 unable to allocate space in file system

F7FA22C9 I O SYSJ2 UNABLE TO ALLOCATE SPACE IN FILE SYSTEM edit by bakunin: until you are willing to phrase a decent question i am unwilling to tolerate such a spammed thread here. - Thread closed - (0 Replies)
Discussion started by: ranjithm
0 Replies

2. Solaris

Disk Space

I know there are other threads but they have not helped. My server is running low on disk space and I haven't been able to re-allocate. I think my solaris machine is missing tools or the way it was originally setup, may not have the right pathing. $ df -k Filesystem kbytes used... (5 Replies)
Discussion started by: lnxjenn
5 Replies

3. UNIX for Dummies Questions & Answers

How much disk space?

Hi, I have this : uname -a Linux servername 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux df -k Sys. de fich. 1K-blocs Occupied Disponible Capacity Monted on /u01/applis 10321208 3190160 6606760 33% /applis Does it mean... (1 Reply)
Discussion started by: big123456
1 Replies

4. Solaris

Disk Space

Hi, I am installing TAM-eb components in solaris V10.o, unfortunately am running out of space. when I -df i come across a lot of directories. i would like to know whether there is any way to free some disk space. (10 Replies)
Discussion started by: ichwaiznicht
10 Replies

5. Solaris

Solaris 8-How to check unallocated physical volumn and how allocate it to a disk?

How can I check unallocated physical volumn size on Solaris 8? And how do I allocate it? As you can see /TSHE_applics is nearly full with 97% used and we need to allocate some more disk space as there are 2 more projects that requires a few more installation on it by October 2010. Filesystem ... (2 Replies)
Discussion started by: Wanida
2 Replies

6. UNIX for Dummies Questions & Answers

allocate more space to /home

Hi all Is there a way to allocate more space to a partition? For example my /home is almost full , at 96% so can I move memory from lets say / to /home? df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 6190692 2571688 3304532 44% / /dev/sda2... (2 Replies)
Discussion started by: mcraul
2 Replies

7. UNIX for Advanced & Expert Users

How to allocate swap space?

Hi all, I would like to know how i can mount swap on /tmp at boot time, I mean even before the actual script that does the mounting kicks in? i tried this mount -F tmpfs swap /tmp (nothing happens it just hangs during the booting) I also tried this /usr/lib/fs/tmpfs/mount swap /tmp... (3 Replies)
Discussion started by: wrapster
3 Replies

8. UNIX for Advanced & Expert Users

How to re-allocate disk space on solaris 10

I am not very good at UNIX and seek help here. I tried to install Oracle 10g on a 64 bit Sun sparc machine with solaris 10 as OS. After I installed solaris 10, the current file system on the machine looks like this: /dev/dsk/c0t0d0s0 5104758 4854293 199418 97% / /devices ... (2 Replies)
Discussion started by: duke0001
2 Replies

9. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

10. UNIX for Dummies Questions & Answers

Out of disk space?

Hi I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already? How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies
Login or Register to Ask a Question