07-31-2008
Quote:
Originally Posted by
Franklin52
But you haven't solve the problem with your partition, Google for the error message :"Disk /dev/sda doesn't contain a valid partition table".
Regards
You mean problem that fdisk don't see valid partition? This is no problem
I've wiped intentionally with dd if=/dev/zero of=/dev/sda bs=512 count=1 becouse I'm testing script to autopartition disk.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recently installed RedHat 7.2, and cannot find any tools to partition the disks other than during the install. I did a find from / for fdisk and cfdisk, neither turned up. I looked in the RPM directories on the CD's, again no good. What rpm contains a partition management tool? (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. Solaris
how do i know my disk partion using fdisk (4 Replies)
Discussion started by: seyiisq
4 Replies
3. Red Hat
OS= Fedora 10
I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and... (2 Replies)
Discussion started by: woodson2
2 Replies
4. UNIX for Dummies Questions & Answers
Just started understanding linux filesystem and partition utilities.
I was going though some video tutorials by CBT nuggets and the author was cursing fdisk as fuzzy tool and recommending to use parted instead.
In our job environment i have seen almost every one using fdisk utility for... (1 Reply)
Discussion started by: pinga123
1 Replies
5. Solaris
Hi All,
fdisk -l in linux equals in fdisk option in Solaris
Thanks.......... (2 Replies)
Discussion started by: pvkarthykeyan
2 Replies
6. Shell Programming and Scripting
hi
i want to automate fdisk command .
i spawned a process containing fdisk command from a process
and tried to send the options to fdisk promt from that process.
but that spawed process is notstarting itself
help me out
trying for two days
:wall:
my code:
#!/bin/bash
echo... (5 Replies)
Discussion started by: jagak89
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Someone please analyse the following o/p of fdisk -l and tell me what it means for /dev/sda, /dev/sdb, /dev/sdc ....
Disk /dev/sda: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start ... (5 Replies)
Discussion started by: stunn3r
5 Replies
8. BSD
Hello,
MBR partition table made by linux fdisk looks certainly not correct when printed by openbsd fdisk:
Partition table created on linux (centos 6.3):
# fdisk -l /dev/sdc
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 *... (2 Replies)
Discussion started by: vilius
2 Replies
9. UNIX for Dummies Questions & Answers
I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore.
Here is what 's happening:
* I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
10. Shell Programming and Scripting
Hi Guys,
Can someone take a look at my scripts what missing, plugin usb drive the script is running can log all my echo but cannot execute command. Is there any configuration in linux or to my scripts need to add?.
What i want to achieve is every time I plugin the usbdisk automatic mount to... (21 Replies)
Discussion started by: lxdorney
21 Replies
PVCK(8) System Manager's Manual PVCK(8)
NAME
pvck - check physical volume metadata
SYNOPSIS
pvck [-d|--debug] [-h|--help] [-v|--verbose] [--labelsector] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvck checks physical volume LVM metadata for consistency.
OPTIONS
See lvm for common options.
--labelsector sector
By default, 4 sectors of PhysicalVolume are scanned for an LVM label, starting at sector 0. This parameter allows you to specify a
different starting sector for the scan and is useful for recovery situations. For example, suppose the partition table is corrupted
or lost on /dev/sda, but you suspect there was an LVM partition at approximately 100 MB. This area of the disk may be scanned by
using the --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):
pvck --labelsector 204800 /dev/sda
Note that a script can be used with --labelsector to automate the process of finding LVM labels.
SEE ALSO
lvm(8), pvcreate(8), pvscan(8) vgck(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVCK(8)