Holden Hao wrote:
by reducing the /dbdata partition. Most of the howto I've googled uses a
live cd and rebooting the machine, is there a way to do it without rebooting
the machine? Will turning off some services using the partition and just
unmounting the said partition with the use of parted and tune2fs suffice?
The machine is almost 2yrs up and we can't afford any downtime cause by a
machine shutdown.

AFAIK, this is not possible.  Resizing Ext2/3 requires resizing the
partition and then resizing the Ext2/3 file system.  After resizing
the partition the kernel needs to know the new partition size so you
need to reboot.  I vaguely recall that there is a utility that can
inform the kernel of the new partition but it may be hit or miss thing
depending on the kernel you have running.



Holden
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph


The utility that Holden is referring to is the partprobe command. This is available with Redhat. I'm not too sure about the other distros.

--
Peter Santiago         [EMAIL PROTECTED]
My website:            www.psinergybbs.com
My spamtrap address:   [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to