mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@us.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: 2.5.66 Unable to update partition table
Date: Tue, 8 Apr 2003 09:12:04 -0800	[thread overview]
Message-ID: <200304081012.04370.pbadari@us.ibm.com> (raw)

Hi,

I am not able to update partition table with 2.5.66.
I get following error message when I try to create a
new partition.

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.

Any ideas on why ? Is this expected ?

Thanks,
Badari

[root@elm3b78 root]# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda6               381139    322588     38873  90% /
/dev/sda1                46636     43116      1112  98% /boot
none                   1941612         0   1941612   0% /dev/shm
/dev/sda2              9890888   8442076    946380  90% /usr
/dev/sdb5             16476952  10891916   4748052  70% /home
/dev/sda7               256667     80265    163150  33% /var


[root@elm3b78 root]# fdisk /dev/sdb

The number of cylinders for this disk is set to 2212.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 255 heads, 63 sectors, 2212 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb2           129      2212  16739730    5  Extended
/dev/sdb5           129      2212  16739698+  83  Linux

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
Partition number (1-4): 1
First cylinder (1-2212, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-128, default 128):
Using default value 128

Command (m for help): p

Disk /dev/sdb: 255 heads, 63 sectors, 2212 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1       128   1028128+  83  Linux
/dev/sdb2           129      2212  16739730    5  Extended
/dev/sdb5           129      2212  16739698+  83  Linux

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.


             reply	other threads:[~2003-04-08 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 17:12 Badari Pulavarty [this message]
2003-04-10  4:31 etienne.lorrain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304081012.04370.pbadari@us.ibm.com \
    --to=pbadari@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®