On Sat, May 7, 2016 at 7:57 AM, Robert Nichols
wrote:
> On 05/06/2016 02:15 PM, Wes James wrote:
>
>> I found this:
>>
>> # lvextend -l +100%FREE /dev/myvg/testlv
>>
>> doing a search. What's the difference between 100%VG and 100%FREE?
>>
>
> For the special case of "100%" there is no difference
On 05/06/2016 02:15 PM, Wes James wrote:
I found this:
# lvextend -l +100%FREE /dev/myvg/testlv
doing a search. What's the difference between 100%VG and 100%FREE?
For the special case of "100%" there is no difference. For values
less than 100% with a non-empty VG, the two are quite different
On 05/06/2016 01:42 PM, John R Pierce wrote:
On 5/6/2016 11:39 AM, Wes James wrote:
file -s /dev/dm-0
and it says XFS
So would I use xfs_growfs?
bingo!xfs_growfs can be used with the file system online, I'm pretty
sure resize2fs requires the file system to be offline (unmounted).
O
>
> From: Scott Robbins
> Date: May 06, 2016 12:32:55 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] resize lvm
>
> On Fri, May 06, 2016 at 06:19:35PM +, Wes James wrote:
>
> I have a laptop that I put centos 7 on and I started out with a 30gig
partition.
On Fri, May 06, 2016 at 11:42:18AM -0700, John R Pierce wrote:
> On 5/6/2016 11:39 AM, Wes James wrote:
> >file -s /dev/dm-0
> >
> >
> >
> >and it says XFS
> >
> >
> >
> >So would I use xfs_growfs?
>
> bingo!xfs_growfs can be used with the file system online, I'm
> pretty sure resize2fs requir
On May 06, 2016, at 12:37 PM, John R Pierce wrote:
On 5/6/2016 11:28 AM, John R Pierce wrote:
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesyst
- Original Message -
| On Fri, May 06, 2016 at 06:19:35PM +, Wes James wrote:
| > I have a laptop that I put centos 7 on and I started out with a 30gig
| > partition. I resized the other part of the disk to allow more space for
| > centos. I then created an unformated partition in t
On 5/6/2016 11:39 AM, Wes James wrote:
file -s /dev/dm-0
and it says XFS
So would I use xfs_growfs?
bingo!xfs_growfs can be used with the file system online, I'm pretty
sure resize2fs requires the file system to be offline (unmounted).
--
john r pierce, recycling bits in santa c
On May 06, 2016, at 12:29 PM, John R Pierce wrote:
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.
what file system type is t
On 5/6/2016 11:28 AM, John R Pierce wrote:
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.
what file system type is this /dev/lvname
On Fri, May 06, 2016 at 06:19:35PM +, Wes James wrote:
> I have a laptop that I put centos 7 on and I started out with a 30gig
> partition. I resized the other part of the disk to allow more space for
> centos. I then created an unformated partition in the available space, ran
>
>
> pvcr
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.
what file system type is this /dev/lvname/root ?
--
john r pierce, recycling bits
I have a laptop that I put centos 7 on and I started out with a 30gig
partition. I resized the other part of the disk to allow more space for
centos. I then created an unformated partition in the available space, ran
pvcreate /dev/sda4
vgextend lvname /dev/sda4
lvextend -L 184.46G /de
Thanks guys for help!
Work is done, everything went fine ..
Have a nice day,
D.
On Wed, Oct 29, 2008 at 3:24 PM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>
> On Wed, 2008-10-29 at 10:15 -0400, Filipe Brandenburger wrote:
>>
>
>> Reduce the filesystem to 78G or 79G with resize2fs, then redu
On Wed, 2008-10-29 at 10:15 -0400, Filipe Brandenburger wrote:
>
> Reduce the filesystem to 78G or 79G with resize2fs, then reduce the LV
> to 80G, then grow the ext3 filesystem again to fill all the LV. This
> should make it safer when cutting the LV.
That's what I always do. It eliminates sma
Hi,
On Wed, Oct 29, 2008 at 07:58, David Hláčik <[EMAIL PROTECTED]> wrote:
> How can i be sure that i will shrink ext3 to exact size 80GB and that the
> same will lvreduce do? I do not want to cut from ext3 filesystem if i will
> reduce logical volume too much
Reduce the filesystem to 78G or 79G
On Wed, Oct 29, 2008 at 01:38:06PM +0100, David Hláčik wrote:
> >
> >
> > Now, for lvresize:
> > lvresize -L 80G system/home
>
> Are you sure there should not be lvreduce -L 80G system/home ?
Same thing. I prefer the direction-neutral lvresize.
Regards,
Luciano Rocha
--
lfr
0/0
pgph8d6Kf9euL
>
>
> Now, for lvresize:
> lvresize -L 80G system/home
Are you sure there should not be lvreduce -L 80G system/home ?
Thanks!
D.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On Wed, Oct 29, 2008 at 12:58:32PM +0100, David Hláčik wrote:
>1. How can i be sure that i will shrink ext3 to exact size 80GB and that
dev=/dev/system/home
resize2fs $dev 80G
Then, to be sure of the real size:
blks=$(tune2fs -l $dev | awk -F: '/Block size/ { print $2/512 }')
fssize=$(tune2f
Hello guys,
my scenario is following
1. I have LVM group named "system"
2. I have a logical volumes
- system/root , ext3 mounted as / (20GB)
- system/swap, swap
- system/home, ext3 mounted as /home (431GB)
I need to shrink system/home to 80GB (currently there is 57GB use
20 matches
Mail list logo