Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Extending disk in Linux Centos 4.5
System Administration
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP