FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-25-2008, 03:26 AM
"sunhux G"
 
Default resize/move in parted did not shrink swap size - resource busy

Hi,

To add to earlier post on resizing VMWare ESX Redhat Linux 5.2,
I've tried :

"fdisk -l" to find out the swap partition (it's /dev/cciss/c0d0p2)

/sbin/parted
> select /dev/cciss/c0d0p2
> print (to get minor number, start & end cylinder)
> resize 1 0.000 800.000
> move 1 0.000 800.000

Warning: The kernel was unable to re-read the partition table on /dev/...
(Device or resource busy). This means Linux knows nothing
about any modifications you made. You should reboot your computer

I've tried doing the above in single user mode & got the same message.
After rebooting, top still showed the swap space as 8Gb.

What did I miss? Just want to free up some space.


Rgds
U

**
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-25-2008, 03:55 AM
"Sanjay Chakraborty"
 
Default resize/move in parted did not shrink swap size - resource busy

Are you running redhhat linux in vmware right ? Because present vmware
esx 3.5 is based on RHEL 3 kernel.
Your are having issue with vmware host or gest?

On Thu, Jul 24, 2008 at 11:26 PM, sunhux G <sunhux@gmail.com> wrote:
> Hi,
>
> To add to earlier post on resizing VMW ESX Redhat Linux 5.2,
> I've tried :
>
> "fdisk -l" to find out the swap partition (it's /dev/cciss/c0d0p2)
>
> /sbin/parted
>> select /dev/cciss/c0d0p2
>> print (to get minor number, start & end cylinder)
>> resize 1 0.000 800.000
>> move 1 0.000 800.000
>
> Warning: The kernel was unable to re-read the partition table on /dev/...
> (Device or resource busy). This means Linux knows nothing
> about any modifications you made. You should reboot your computer
>
> I've tried doing the above in single user mode & got the same message.
> After rebooting, top still showed the swap space as 8Gb.
>
> What did I miss? Just want to free up some space.
>
>
> Rgds
> U
>
> **
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Regards.
Sanjay Chakraborty

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-25-2008, 05:20 AM
"sunhux G"
 
Default resize/move in parted did not shrink swap size - resource busy

Yes, VMWare ESX Linux is the host.

I have not installed any clients/guest OS in the VMWare box yet

Any way to workaround this?
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-25-2008, 02:56 PM
"Sanjay Chakraborty"
 
Default resize/move in parted did not shrink swap size - resource busy

I have not seen this kind of errors. thIs box is new or old? If your
server is old then may be the old driver causing this problem. Clear
everything,clear bios and reinstall bios and firmware from scratch.
Then insall vmware esx.

On Fri, Jul 25, 2008 at 1:20 AM, sunhux G <sunhux@gmail.com> wrote:
> Yes, VMWare ESX Linux is the host..
>
> I have not installed any clients/guest OS in the VMWare box yet
>
> Any way to workaround this?
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Regards.
Sanjay Chakraborty

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 12:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org