Tags

Add a new partition tips

by dt on October 24th, 2009

If you add a new partition (or change existion one), fdisk complains about device busy:

# fdisk /dev/sdb

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

Sollution is to unmount any other mounted partitions from the same drive (/dev/sdb in my case). Then try again to write partitions.

shorturl: