- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Extending disk in Linux Centos 4.5
Operating System - Linux
1822894
Members
3632
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 06:08 PM
тАО03-09-2010 06:08 PM
Extending disk in Linux Centos 4.5
Hi all,
The server (DL360G5) installed with Smart Array P800 to connect to a MSA50 enclosure. I have added several disk to the enclosure and extended the logical drive there. The problem is, the changes is not showing in fdisk even though I have assigned all the (newly added) "Unused Space" in the array to the logical drive.
These are what I have done, so far:
- add disk to Array A
controller slot=2 array A add spares=allunassigned
- extend logical drive 1
controller slot=2 logicaldrive 1 modify size=max
how to make fdisk sees this changes, preferably without reboot?
Regards,
EF
The server (DL360G5) installed with Smart Array P800 to connect to a MSA50 enclosure. I have added several disk to the enclosure and extended the logical drive there. The problem is, the changes is not showing in fdisk even though I have assigned all the (newly added) "Unused Space" in the array to the logical drive.
These are what I have done, so far:
- add disk to Array A
controller slot=2 array A add spares=allunassigned
- extend logical drive 1
controller slot=2 logicaldrive 1 modify size=max
how to make fdisk sees this changes, preferably without reboot?
Regards,
EF
Everything is possible, if you don't know what you're talking about.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 12:50 AM
тАО03-10-2010 12:50 AM
Re: Extending disk in Linux Centos 4.5
> how to make fdisk sees this changes, preferably without reboot?
This could be the catch here that the running kernel is still unaware of your "partition table" modifications, and you might have no other choice than to reboot.
Or maybe a matter of kernel version?
What kernel did CentOS 4.5 ship (uname -r)?
But I should not reason as I don't have any experience with your particular array setup.
This could be the catch here that the running kernel is still unaware of your "partition table" modifications, and you might have no other choice than to reboot.
Or maybe a matter of kernel version?
What kernel did CentOS 4.5 ship (uname -r)?
But I should not reason as I don't have any experience with your particular array setup.
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:09 AM
тАО03-10-2010 01:09 AM
Re: Extending disk in Linux Centos 4.5
The kernel running is 2.6.9-55.ELsmp.
Seem the cciss driver contradict itself:
[root@m5 ~]# cat /sys/block/cciss\!c1d0/size
860050224
[root@m5 ~]# cat /proc/driver/cciss/cciss1
cciss1: HP Smart Array P800 Controller
Board ID: 0x3223103c
Firmware Version: 5.20
IRQ: 66
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 95
Max # commands on controller since init: 384
Max SG entries since init: 31
Sequential access devices: 0
cciss/c1d0: 440.34GB RAID 5
[root@m5 ~]#
The first command above showing the new size (about 860GB), but the second command showing the old size (440GB). And as described earlier, fdisk showing the old size:
[root@m5 ~]# fdisk -l /dev/cciss/c1d0
Disk /dev/cciss/c1d0: 440.3 GB, 440345714688 bytes
255 heads, 32 sectors/track, 105398 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c1d0p1 1 105398 430023824 83 Linux
[root@m5 ~]#
look around in google seems Linux does not have "reread disk geometry" feature/tools.
Regards,
EF
Seem the cciss driver contradict itself:
[root@m5 ~]# cat /sys/block/cciss\!c1d0/size
860050224
[root@m5 ~]# cat /proc/driver/cciss/cciss1
cciss1: HP Smart Array P800 Controller
Board ID: 0x3223103c
Firmware Version: 5.20
IRQ: 66
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 95
Max # commands on controller since init: 384
Max SG entries since init: 31
Sequential access devices: 0
cciss/c1d0: 440.34GB RAID 5
[root@m5 ~]#
The first command above showing the new size (about 860GB), but the second command showing the old size (440GB). And as described earlier, fdisk showing the old size:
[root@m5 ~]# fdisk -l /dev/cciss/c1d0
Disk /dev/cciss/c1d0: 440.3 GB, 440345714688 bytes
255 heads, 32 sectors/track, 105398 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c1d0p1 1 105398 430023824 83 Linux
[root@m5 ~]#
look around in google seems Linux does not have "reread disk geometry" feature/tools.
Regards,
EF
Everything is possible, if you don't know what you're talking about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 04:10 AM
тАО03-10-2010 04:10 AM
Re: Extending disk in Linux Centos 4.5
Try running "partprobe".
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP