[caasp-beta] Resize / on CAASP

Le Bihan Stéphane (AMUNDI-ITS) stephane.lebihan at amundi.com
Thu Jun 21 23:41:24 MDT 2018


Hi,

After test is not works.

When I write partition :
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

I test partx command after. But not ok only :

dl360o-100:~ # partx -u -n 2 /dev/sda
partx: /dev/sda: error updating partition 2

After drain node and reboot. All is ok.

Regards

Stéphane Le Bihan
SDE/DSI/IPR/SSD/UNX
90, Boulevard Pasteur - 75015 Paris
Web: www.amundi.com
Tel: +33 1 76 32 32 08
Tel Unix Team: +33 1 76 32 02 30
@: stephane.lebihan at amundi.com
@: sits.unix at amundi.com

Visit us on: 

        

-----Message d'origine-----
De : caasp-beta-bounces at lists.suse.com [mailto:caasp-beta-bounces at lists.suse.com] De la part de Le Bihan Stéphane (AMUNDI-ITS)
Envoyé : mercredi 20 juin 2018 16:26
À : Thorsten Kukuk
Cc : caasp-beta at lists.suse.com
Objet : Re: [caasp-beta] Resize / on CAASP

OK thanks.

I test that.

Regards



Stéphane Le Bihan
SDE/DSI/IPR/SSD/UNX
90, Boulevard Pasteur - 75015 Paris
Web: www.amundi.com
Tel: +33 1 76 32 32 08
Tel Unix Team: +33 1 76 32 02 30
@: stephane.lebihan at amundi.com
@: sits.unix at amundi.com

Visit us on: 

        


-----Message d'origine-----
De : Thorsten Kukuk [mailto:kukuk at suse.com] 
Envoyé : mercredi 20 juin 2018 16:06
À : Le Bihan Stéphane (AMUNDI-ITS)
Cc : caasp-beta at lists.suse.com
Objet : Re: [caasp-beta] Resize / on CAASP

On Wed, Jun 20, Le Bihan Stéphane (AMUNDI-ITS)  wrote:

> No I just make little test before.
> 
> And I have same issue as btrfs balance :
> 
> # btrfs filesystem resize max /
> Resize '/' of 'max'
> ERROR: unable to resize '/': Read-only file system

Yes, that's a very old btrfs design bug ...

> I'm not change partition before.
> 
> So I think I can use :
> # btrfs filesystem resize max /.snapshots

You can use any writeable part of the same filesystem.

In the end btrfs needs the device name, but the interface
does not allow that.

  Thorsten

-- 
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
_______________________________________________
caasp-beta mailing list
caasp-beta at lists.suse.com
http://lists.suse.com/mailman/listinfo/caasp-beta


More information about the caasp-beta mailing list