[CentOS] shrink LV with ext3 filesystem
Luciano Rocha
strange at nsk.no-ip.org
Tue Sep 4 20:56:58 UTC 2007
On Tue, Sep 04, 2007 at 08:18:18PM +0200, Thomas Antony wrote:
>
> >> Is it possible that i log into the server with ssh and umount only /var
> >> and then resize the logical volume?
> > Yes, but you'll have to stop a lot of daemons and other processes that
> > run with files opened in /var.
> > You can find the processes accessing /var with lsof or fuser:
> > # fuser -mv /var
> > # lsof /var
>
>
> I stopped all services except sshd and fuser and lsof doesn't show me any
> files, but i still can't unmount /var :-(
>
> # umount /var
> umount: /var: device is busy
> umount: /var: device is busy
>
> Ayn ideas?
Are you using chrooted BIND?
Do a cat /proc/mounts, search for var, and unmount anything in use.
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070904/717a35ef/attachment.sig>
More information about the CentOS
mailing list