ittechlab
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.
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
While it's just a warning, there is a suggested fix. http://www.howtogeek.com/168158/how-to-fix-warning-re-reading-the-partition-table-failed-with-error-22-invalid-argument-error-on-linux/
ASKER
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.