Hi All,
Can it is possible we can update the new partition in the kernel table without rebooting the RHEL6
These is the os drive "sda" which have the problem
what is this mean "Partition 1 does not end on cylinder boundary".
"[root@pant ~]# fdisk -l
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00017e18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 1938 15360000 83 Linux
/dev/sda3 1938 2193 2048000 82 Linux swap / Solaris
/dev/sda4 2193 3916 13841446 5 Extended
/dev/sda5 2193 3193 8033917 83 Linux
[root@pant ~]#
[root@pant ~]# fdisk -l
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00017e18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Quote:
Partition 1 does not end on cylinder boundary.
|
/dev/sda2 26 1938 15360000 83 Linux
/dev/sda3 1938 2193 2048000 82 Linux swap / Solaris
/dev/sda4 2193 3916 13841446 5 Extended
/dev/sda5 2193 3193 8033917 83 Linux
[root@pant ~]#
root@pant ~]# fdisk -l
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00017e18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 1938 15360000 83 Linux
/dev/sda3 1938 2193 2048000 82 Linux swap / Solaris
[root@pant ~]# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00017e18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 1938 15360000 83 Linux
/dev/sda3 1938 2193 2048000 82 Linux swap / Solaris
/dev/sda4 2193 3193 8033948+ 5 Extended
Command (m for help): n
First cylinder (2193-3916, default 2193):
Using default value 2193
Last cylinder, +cylinders or +size{K,M,G} (2193-3916, default 3916): +1000
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 or after you run partprobe(8) or kpartx(8)
Syncing disks.
[root@pant ~]#
Quote:
[root@pant ~]# partprobe
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
|
Quote:
[root@pant ~]# kpartx /dev/sda5
failed to stat() /dev/sda5
[root@pant ~]# kpartx /dev/sda
sda1 : 0 409600 /dev/sda 2048
sda2 : 0 30720000 /dev/sda 411648
sda3 : 0 4096000 /dev/sda 31131648
sda4 : 0 2 /dev/sda 35227648
sda5 : 0 16067834 /dev/sda 35227711
[root@pant ~]# mkfs.ext3 /dev/sda5
mke2fs 1.41.12 (17-May-2010)
Could not stat /dev/sda5 --- No such file or directory
|
The device apparently does not exist; did you specify it correctly?