Link to home
Create AccountLog in
Avatar of ittechlab
ittechlabFlag for Canada

asked on

Linux

I have used the iscsi storage from another node to create a 128M partition. i am not sure why i am getting this message.

WARNING: Re-reading the partition table failed with error 22: Invalid argument.


Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 3
First sector (526336-4194303, default 526336):
Using default value 526336
Las
t sector, +sectors or +size{K,M,G} (526336-4194303, default 4194303): +128M

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

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)
Syncing disks.
Avatar of ittechlab
ittechlab
Flag of Canada image

ASKER

[root@node1 ~]# partprobe
Warning: WARNING: the kernel failed to re-read the partition table on /dev/vda (Device or resource busy).  As a result, it may not reflect all of your changes until after reboot.
SOLUTION
Avatar of shinuster
shinuster

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account