Reallocating disk space


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reallocating disk space
# 1  
Old 05-27-2009
Reallocating disk space

Ok. I just built a new box from a Flash Archive and it worked great, but when I partitioned the boot disk I didn't leave any space on slice 7 to create meta devices for the mirroring. DOH! My question. I assigned 8GB for SWAP on slice 1 - can I shink or reassign space from the slice and allocate it to slice 7 for the meta devices, and if so how do I do that? Thanks in advance.
# 2  
Old 05-27-2009
You can.

Boot to single use mode ( possibly not require but depends on your memory/swap usage )
Remove the swap ( swap -d )
Resize the swap partition
Create the new partition
swap -a the swap partition and bring the server up the rest of the way.
# 3  
Old 05-27-2009
Quote:
Originally Posted by reborg
You can.

Boot to single use mode ( possibly not require but depends on your memory/swap usage )
Remove the swap ( swap -d )
Resize the swap partition
Create the new partition
swap -a the swap partition and bring the server up the rest of the way.
Ok, so I brought it down to single user mode. Did a swap -d /dev/dsk/c1t1d0s1. Went into format resized swap then added the free space to slice 6 (which is unassigned). Went to label and I get the following:

Cannot label disk when partitions are in use as described.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

disk space

Hi, I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit Please suggest. Regards Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

4. Filesystems, Disks and Memory

disk space

Hi experts i am new in unix and informix and would like to ask 2 questions 1) my server shows when using df -k fs 1024-block used available /usr 10079072 3668670 6381144 does this mean i have 10GB, and used up 3.7GB and available 6.3GB ??? is... (3 Replies)
Discussion started by: kingsto88
3 Replies

5. Solaris

Disk space?

I'm a Unix newbie running Solaris 9. After installing a fresh copy on a 40GB drive I noticed the available disk space is 2% free or approximately 200MB available. Is that possible? Did I do something wrong? (4 Replies)
Discussion started by: jbarbuto
4 Replies

6. 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

7. Programming

reallocating structures dynamically in functions

I've recently started using structures, but I am having problems in allocating the structure dynamically. In the code below if i allocate the structure in the main program it works fine, and i get the expected output. However if i use the function rper below to increase the size of the structure i... (0 Replies)
Discussion started by: cezaryn
0 Replies

8. Filesystems, Disks and Memory

Disk space

Can someone tell me how to determine how much disk space has been allocated to me and how much of it I am using? Thanks in advance. (1 Reply)
Discussion started by: jxh461
1 Replies

9. 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