- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- partition table reload
Operating System - Linux
1822895
Members
3879
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
тАО11-26-2007 03:55 AM
тАО11-26-2007 03:55 AM
partition table reload
I am trying to install diskdump using a script.
The steps I am taking are as follows:
I use fdisk to convert the remaining free space on a drive into a partition for use with diskdump.
In order to format the partition (service diskdump initialformat). I need to load it into the partition table. The closest I have gotten to this is by using two commands:
kpartx -a /dev/cciss/c0d03
partprobe
This did work the first time I attempted it. However when I tried to repeat this, (after wiping out the diskdump config, and removing the partition of course) - after a reboot /boot had bad blocks.
I think this is occurring because I am reloading the partition table from a drive that has mounted partitions (/dev/cciss/c0d01 and c0d02).
Is there any way to perform this, without spliting the script after the partitioning and rebooting?
The steps I am taking are as follows:
I use fdisk to convert the remaining free space on a drive into a partition for use with diskdump.
In order to format the partition (service diskdump initialformat). I need to load it into the partition table. The closest I have gotten to this is by using two commands:
kpartx -a /dev/cciss/c0d03
partprobe
This did work the first time I attempted it. However when I tried to repeat this, (after wiping out the diskdump config, and removing the partition of course) - after a reboot /boot had bad blocks.
I think this is occurring because I am reloading the partition table from a drive that has mounted partitions (/dev/cciss/c0d01 and c0d02).
Is there any way to perform this, without spliting the script after the partitioning and rebooting?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2007 11:06 AM
тАО11-26-2007 11:06 AM
Re: partition table reload
If you really have bad blocks then you have a hardware problem. However, the cciss controller should hide any bad blocks from you so you shouldn't see them. Are you sure it wasn't some other error?
In the past I've seen partprobe fail to pick up changes on a cciss device unless I gave it the whole disk device (ie "partprobe /dev/cciss/c0d0"). You can check /proc/partitions to make sure the kernel sees what you think it's supposed to see.
I have used partprobe like this a number of times on RHEL3 and RHEL4 and have not had problems.
In the past I've seen partprobe fail to pick up changes on a cciss device unless I gave it the whole disk device (ie "partprobe /dev/cciss/c0d0"). You can check /proc/partitions to make sure the kernel sees what you think it's supposed to see.
I have used partprobe like this a number of times on RHEL3 and RHEL4 and have not had problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2007 07:08 PM
тАО11-28-2007 07:08 PM
Re: partition table reload
Hi,
Is it possible if u configured LVM and more over it will be easy for u.
Let me know the script content pls for further analysis
Redgs
Palani
Is it possible if u configured LVM and more over it will be easy for u.
Let me know the script content pls for further analysis
Redgs
Palani
Everything is Possible and Anything is Feasible if u try
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