public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Re: LVM: extending volume groups and logical volumes
  @ 2011-12-16  3:05 99% ` Jens Müller
  0 siblings, 0 replies; 1+ results
From: Jens Müller @ 2011-12-16  3:05 UTC (permalink / raw
  To: gentoo-user

Am 16.12.2011 03:18, schrieb Allan Gottlieb:
> Questions
>
> 1.  Apparently 2.6 (hence 3.x) kernels can expand mounted file systems
>      (/var is mounted as ext3).
>
>      Since I can't unmount /var because it is in use, I guess that, if I
>      every need to shrink /var, I would need to boot off a CD.  Is that
>      correct?
>
>      Back in the day, we had single user mode for this, but I don't see
>      how to get the equivalent now.
>
>      Is it really safe to extend /var (i.e., /dev/vg/var) while mounted
>      as ext3?  It sounds frightening since daemons could start running
>      and access /var.

Well, online resizing works online, hence the name.

It is of course supposed to be working. You should have a backup 
nethertheless.

resize2fs also supports shrinking ext3 partitions, see 
http://linux.die.net/man/8/resize2fs

Regards,

Jens




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-16  2:18     [gentoo-user] LVM: extending volume groups and logical volumes Allan Gottlieb
2011-12-16  3:05 99% ` [gentoo-user] " Jens Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox