I am trying to resize my disk space to be bigger on my solaris server (Sun Fire V240)
this server and other windows servers are attached to a SAN disks, the disk I want to resize is on the SAN.
I have free space on the SAN disks so I added some space to the windows disks and I made some changes on the windows servers to apply the news sizes and it works without any problems and without any losing of data. I did the same thing for the solaris attached disk (One disk to be resized and the other disks are fine) and then I tried to apply the changes on the solaris server like I did with windows servers.
here is the display :
The disk I made changes on its size is /global/d100s2 and now its size on SAN is 17G
and to check the size I verified with auto configure command
the server recognized the new size 17G but when doing df -h it still shows the
the previous size can anyone help with helpful commands to apply the changes (add space to slice 2)
(in one condition no data to be lost) thanks a lot
Last edited by DukeNuke2; 03-25-2012 at 07:47 PM..
Thanks for the replies I'll try to follow these steps.
---------- Post updated at 08:55 PM ---------- Previous update was at 04:42 PM ----------
I umounted the file system on the disk and I relabled it then I used the growfs command but I still get the old size 10G, I am a litle bit confused I am supposed to get 17G any help
here are the steps
nothing changed the size is still 10G so what is wrong it should be 17G
Last edited by Corona688; 03-26-2012 at 04:39 PM..
Sorry I wasn't clear enough. You just rewrote the label that was already there so this had no effect. By "relabel" I meant writing a new label automatically adjusted to the expanded device size.
After selecting the disk, type the "type" command, then "0" to auto-configure, then "label" to relabel.
Thank you for your help Jlliagre, and I'm sorry for being late responding to your steps, I just
tried to follow the steps that you gave me but unlikely I got another error message
Last edited by Scott; 03-28-2012 at 10:18 AM..
Reason: Code tags, please...
Hi,
I'm running a Red Hat Enterprise Linux Server release 5.3 (Tikanga) on VMWare. It is a production system for which I may not get downtime soon. I happened to resize a underlying disk and the changes are not reflecting in the fdisk ouput. Further details are as follows.
The disk which i... (3 Replies)
Hi
This is my script for disk space monitoring
clear
if
then
echo "You must be root user to execute the script"
fi
ALERT_LEVEL=10
CONSUMPTION_LEVEL= `df -k | awk {'print $5'} | cut -d '%' -f1 | sed "1 d"`
for i in $CONSUMPTION_LEVEL
do
FILE_SYSTEM=`df -k | awk {'print $1'} |... (3 Replies)
Hello All-
Am new member to this forum. Have some unix experience. But true believer in it compared to windows.
Have a question regarding the disk space.
I know a command to check the total disk space utilization using:
df -k .
but what is the command to check the same disk space by... (6 Replies)
HI ...
I am New to the Unix...I am trying to write a script to check the disk space.
But i am not able to write it.
I know the command to check the disk space df -k,but unable to write the script..Can any body help me...
Thanks in advance... (3 Replies)
I have a Sun box running Solaris 9.
My root disk was slices too small when it was installed and I am now at 99% capacity for my root partition.
Is it possible, and if so how?, to increase the size of slice 0 and decrease the size of slice 7??
Thanks!
Current partition table... (6 Replies)
Hey all, is it possible to free up space off some partitions? during an install of hp-ux i set some allocated diskspace to lets say, /home to 1024 mb, but now i want it to be 512mb..
I'm looking at sam right now at the "Disks and File Systems" menu , can i modify it at all in like, List-> file... (4 Replies)
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)
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)