04-30-2010
Partition management: lvm? fdisk? parted? (on RAID)
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 to break that partition up into at least two separate ones. What I am wondering is:
* What's the difference between using fdisk and parted? Any reason to use one over the other?
* Should I just use lvm instead to shrink the current volume and create a second one? Is there a down-side to use logical volumes without creating a physical partition with fdisk/parted?
* Being that there are already two disks in RAID 1 configuration, does partitioning with lvm or fdisk/parted transparently propagate to the mirror disk or do I need to do something to partition BOTH drives?
Thanks in advance!!
10 More Discussions You Might Find Interesting
1. Solaris
I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk.
The possible reason could be:
1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies
2. UNIX for Dummies Questions & Answers
I've created a partition with GNU Parted, how do I mount the partition?
The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards.
Thanks,
--Todd (1 Reply)
Discussion started by: jtp51
1 Replies
3. 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
4. Shell Programming and Scripting
Hello folks,
I have 2.4TB san storage i want to make 4 partition each having 600GB. I use fdisk but not possible to do this because of fdisk limitation. So i tried parted but it make 2.4TB one partition but with parted not possible to make 4 partition having 600GB, may be i m doing wrong, can... (6 Replies)
Discussion started by: learnbash
6 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
I m using redhat 6, I have installed root partition as non-LVM .
Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies
6. Shell Programming and Scripting
Hi,
How can I run fdisk partition in a script without interactive input?
In manual procedure, I run fdisk device, select n, select p, presess enter for default start number (1), press enter to default end number, then select w for writing to the partition table. The command looks like... (3 Replies)
Discussion started by: hce
3 Replies
7. Red Hat
Hello,
I have been going through our environment and I see we have a few servers with LVM's setup and the file system type is still set to "83" within fdisk. If I change this to "8e", will it hurt the data or cause any loss? I need to know for sure before I make the change. (1 Reply)
Discussion started by: s ladd
1 Replies
8. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Please refer to the below output:
# fdisk -l /dev/sda
Disk /dev/sda: 598.9 GB, 598999040000 bytes
255 heads, 63 sectors/track, 72824 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * ... (1 Reply)
Discussion started by: admin_db
1 Replies
10. UNIX for Dummies Questions & Answers
Oracle Linux 6.6
To create Physical Volumes for Volume groups (LVM) , the disk need to be partitioned to LVM type ie. 'Linux LVM' type . In fdisk , this can done by choosing 8e when prompted for partition type.
Since it is easy to script (non-interactive), I use parted command rather than... (1 Reply)
Discussion started by: John K
1 Replies
LEARN ABOUT OPENSOLARIS
dpt
dpt(7D) Devices dpt(7D)
NAME
dpt - DPT ServeRAID IV SCSI host bus adapter and RAID adapter driver
DESCRIPTION
The dpt driver is a driver for the DPT (Distributed Processing Technology) family of SmartRAID IV SCSI HBA and RAID adapters. The following
HBA adapters are supported: PM2024, PM2044UW, PM2044W, PM2124, PM2124W, PM2144UW, and PM2144W.
The following RAID adapters are supported: PM3224, PM3224W, PM3334UW, and PM3334W.
PRECONFIGURATION
o DPT PM3224 only: Only EPROM 7A and later versions are supported.
o DPT PM2024 and PM2124 only: Only EPROM 6D4 and later versions are supported.
o Use adapters with SmartROM version 3.B or later versions only.
o Be sure that the controller board is installed in a PCI bus-mastering slot.
o Disable PCI parity checking if your firmware version is earlier than version 7A, if your system memory is ECC, or if your system
does not check parity.
Known Problems and Limitations
During system boot, a message may be displayed saying a DPT controller driver cannot be installed. This message indicates that the mother-
board installed in your system may contain ECC memory or may not check parity. If you see this message is displayed, disable PCI parity
checking.
Supported Settings
o I/O Address: Auto
CONFIGURATION
Auto-configuration code determines whether the adapter is present at the configured address and what types of devices are attached to it.
The DPT ServeRAID is primarily used as a disk array (system drive) controller.
To configure the attached disk arrays, you must configure the controller (using the configuration utilities provided by the hardware manu-
facturer) before you boot the Solaris operating environment. You use the configuration utilities to set RAID levels, stripe parameters,
cache mechanisms and perform other functions. For more information, see the user manual supplied with your hardware.
FILES
/kernel/drv/dpt.conf dpt configuration file
/dev/dsk/cndn[s|p]n block device
/dev/rdsk/cndn[s|p]n raw device where:
cn controller n
dn LUN n (0-7)
sn UNIX system slice n (0-15)
pn fdisk(1M) partition(0)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Architecture x86 |
+-----------------------------------------------------------+
SEE ALSO
fdisk(1M), attributes(5), cmdk(7D)
SunOS 5.11 27 November 2000 dpt(7D)