06-02-2013
RAID on Linux
Dear All,
I have a linux Server having a single disk /dev/sda and two partitions
/dev/sda1 and /dev/sda2. Up on which a Logical Volume is created for root partition.
Now the task is I need to implement RAID on this machine , namely RAID 1. Kindly clarify whether i can directly go and create RAID for those two partitions sda1 and sda2 in mirrored partition sdb1 and sdb2
OR I need to create logical volume first in Sdb2 and then create mirror.
Also pl let me know if any links for mirroring under logical volumes in linux
Rgds
Rj
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello i have a linux suse server and im having problems installing a highpoint rocket raid 2220 driver.
The raid card is a pci card made buy highpoint tech on there web site they have the linux suse server driver i now have that driver on the desktop but dont know how to install it.
The lunix... (0 Replies)
Discussion started by: Vaughan
0 Replies
2. Red Hat
Hi all
I have an old Compaq DL380 (G1) server with 4 hard disks. It is running Red Hat Linux 7.2
One of the disks died. I didn't build the box myself. How would I determine if software RAID was configured? I had a look a /etc/fstab, but it's only referring to ida/c0d0
The... (3 Replies)
Discussion started by: soliberus
3 Replies
3. Linux
Hi
any idea on why I am getting this?
/sbin/mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
thanks. (2 Replies)
Discussion started by: melanie_pfefer
2 Replies
4. Linux
Hey,
I have worked with Linux for some time, but have not gotten into the specifics of hard drive tuning or software RAID. This is about to change. I have a Dell PowerEdge T105 at home and I am purchasing the following:
1GBx4 DDR2 ECC PC6400 RAM
Rosewill RSV-5 E-Sata 5 bay disk enclosure... (6 Replies)
Discussion started by: mark54g
6 Replies
5. Linux
Hi Guys,
I had a small task to install linux using Kickstart(Remote Installation) in sun x4450 server. Any document with screen shot for linux installation. please assist me, Thanks in Advance.
specifications
2* Quad core 2.93 ghz cpu
32 gb
4 * 146 gb harddisk (1 Reply)
Discussion started by: kurva
1 Replies
6. Red Hat
I am planning on building a fedora box with raid controller (database server).
Is anybody done that ? also what kind of software do you need to backup and recover data. (1 Reply)
Discussion started by: amir07
1 Replies
7. Windows & DOS: Issues & Discussions
Hello,
I have Win NT server running and I want to know how can I get Hardware RAID settings without rebooting the server?
Thanks in advance. (2 Replies)
Discussion started by: sureshcisco
2 Replies
8. Linux
I just built a home computer with 3TB hard drives I wanted to set up in a RAID 5 and load Ubuntu server onto it.
The first thing I did was set up the drives in a RAID 5 using just the motherboard chipset software to do it, so a 'hardware' RAID basically.
I installed Windows first to see if... (2 Replies)
Discussion started by: lorewap3
2 Replies
9. UNIX for Advanced & Expert Users
Good Evening,
2 years ago, I set up an Ubuntu file-server for a friend, who is a photograph amateur. Basically, the server offers a software RAID-5 that can be accessed remotely from a MAC. Unfortunately, I didn't labeled the hard drives (i.e. which physical drive corresponds to the /dev/sdX... (2 Replies)
Discussion started by: Loic Domaigne
2 Replies
LEARN ABOUT CENTOS
pvresize
PVRESIZE(8) System Manager's Manual PVRESIZE(8)
NAME
pvresize - resize a disk or partition in use by LVM2
SYNOPSIS
pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [--setphysicalvolumesize size] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
OPTIONS
See lvm(8) for common options.
--setphysicalvolumesize size
Overrides the automatically-detected size of the PV. Use with care, or prior to reducing the physical size of the device.
EXAMPLES
Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
pvresize /dev/sda1
Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new parti-
tion size):
pvresize --setphysicalvolumesize 40G /dev/sda1
RESTRICTIONS
pvresize will refuse to shrink PhysicalVolume if it has allocated extents after where its new end would be. In the future, it should relo-
cate these elsewhere in the volume group if there is sufficient free space, like pvmove does.
pvresize won't currently work correctly on LVM1 volumes or PVs with extra metadata areas.
SEE ALSO
lvm(8), pvmove(8), lvresize(8), fdisk(8)
Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) PVRESIZE(8)