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)
Hi !
I need to create large amount of portions for database in Linux. Untill now I've used fdisk for manual creation of chunks and changing thei? file system type. Now I want to write script for create them automatically.
I think I'm not the first who deal with that problem!
Thank you for... (1 Reply)
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)
Hi folks
What I'm trying is to build a partitioning script.
I can pass a HEREDOC to fdisk just fine. Like this:
fdisk /dev/sda << EOF
p
q
EOF
but I don't know how to put that HEREDOC into a varible to pass it to fdisk.
This is what I have tried so far (no luck)
#!/bin/bash
... (3 Replies)
Hello,
I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?).
It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume.
I want... (1 Reply)
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)
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)
run fdisk on a vg with a few lvs , and label it as 8e..and reboot the system..
I wonder if there is still a way to recover the data at all:confused::rolleyes: (2 Replies)
Discussion started by: ppchu99
2 Replies
LEARN ABOUT OPENSOLARIS
addpart
ADDPART(8) System Administration ADDPART(8)NAME
addpart - tell the kernel about the existence of a partition
SYNOPSIS
addpart device partition start length
DESCRIPTION
addpart tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition"
ioctl.
This command doesn't manipulate partitions on a block device.
PARAMETERS
device The disk device.
partition
The partition number.
start The beginning of the partition (in 512-byte sectors).
length The length of the partition (in 512-byte sectors).
SEE ALSO delpart(8), fdisk(8), parted(8), partprobe(8), partx(8)AVAILABILITY
The addpart command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux January 2015 ADDPART(8)