LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-21-2007, 01:13 PM   #1
polar_bear
LQ Newbie
 
Registered: Nov 2007
Posts: 10

Rep: Reputation: 0
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?

Last edited by polar_bear; 11-21-2007 at 01:22 PM. Reason: fix syntax
 
Old 11-22-2007, 05:55 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,287

Rep: Reputation: 173Reputation: 173
be careful messing with that if you have real data.

if you mess up an existing partition, even if you restore it
exactly as it was before, the file system will probably go AWOL

(I know this)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM
Messed up partition table and Windows' partition boot sector pyromithrandir Linux - General 32 04-08-2006 12:26 PM
Cannot Write to Partition - Trying reload texmansru47 Linux - General 2 11-23-2004 11:28 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration