0
votes
1answer
59 views

Format and partition device-mapper in LVM

I have a disk on a server: /dev/VolGroup00/LogVol02 that is about 5TB. I would like to format and partition it to make 2 500GB mount points. It doesn't even have to be in LVM. How can I take this ...
2
votes
0answers
153 views

Convert single O/S disk to RAID 1 - Ubuntu 12.04 LTS

I have a server running Ubuntu 12.04 LTS with only a single drive. There are 2 more empty hot swap bays in the chassis. I want to add a little redundancy by adding a RAID 1 to the system. The ...
1
vote
1answer
3k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
2
votes
1answer
53 views

Why the I/O rate difference between an LV and PV?

I have been doing some benchmarks reading with dd from both the LVM device and the PV device and I got some unexpected results: $ sync ; echo 3 > /proc/sys/vm/drop_caches; dd bs=1M count=1024 ...
1
vote
1answer
95 views

Recover data after lvreduce on “/”

I accidentally ran lvreduce on / instead of "/home" on a RHEL 5.9 system that unfortunately had a lot of code that was not backed up, and the system will not boot now obviously. What is the best way ...
1
vote
2answers
179 views

Physical disks comprising a Volume in RHEL

How do I list the physical disks and associated information (disk model, size, etc.) for all disks that are members of a physical volume in RHEL? For example, if I do I "pvscan", I get the following ...
3
votes
2answers
1k views

Rebalance CentOS / RHEL Ext4 LVM assignment

Our corporate standard is CentOS (which seems to prefer LVM), and I come from primarily a non-LVM background, so I'm treading new ground with this issue. I inherited an older machine as a log-server ...
2
votes
3answers
455 views

Relayout LVM Disk

I have an Ubuntu 11.10 system with two 500GB disks. The partition tables look like this: /dev/sda1 primary 465.52GB /dev/sda2 extended 243.17MB -> /dev/sda5 logical 243.14MB ...
0
votes
0answers
128 views

CentOS Volume Group remount after reboot

Using centos 6.2x86_64 /dev/sda is primary disk /dev/sdb is secondary disk. The volume group size of /dev/sda was not enough so i increased the size of volume group using vgextend command. It was ...
2
votes
5answers
492 views

RedHat Linux LVM — determine free space

here's my brain teaser: Got myself a server connected to a SAN. We would like to install Netbackup on it (to back up this and one other server). I would like to create a new partition within an ...
1
vote
2answers
2k views

How to interpret IOZone results?

Here are the resuts of running IOZone on an ext3 filesystem on an LVM volume residing on a SAN LUN (it was ran with 5 parallel processes). "Throughput report Y-axis is type of test X-axis is number ...
1
vote
1answer
488 views

extend/shrink LVM between different volume groups

Bear with me on this one, since I'm pretty new to LVM. I have a server with about 5 LVM's on them. They consist of 5PV, using their own VG's and their own corresponding LV's. My issue is, I'm ...
3
votes
5answers
7k views

KVM online disk resize?

We're evaluting KVM for Linux virtualization on a few projects. All is going well so far. But one of our requirements is the ability to add disk space to a running guest without rebooting or taking it ...
9
votes
5answers
11k views

How do I easily repair a single unreadable block on a Linux disk?

My Linux system has started throwing SMART errors in the syslog. I tracked it down and believe the problem is a single block on the disk. How do I go about easily getting the disk to reallocate that ...
7
votes
5answers
7k views

Linux md vs. LVM performance

I am trying to tune my NAS, running openfiler, and wondering why I'm getting relatively poor read performance from 4 WD RE3 drives in RAID 5. EDIT: Please note I am talking about the buffered disk ...
5
votes
1answer
3k views

Change owner of LVM LV's device node in RHEL5

First time using serverfault, please excuse any breaches of etiquette. I've created several LVM2 logical volumes in local storage on a server, and would like one of the device nodes - not the ...
2
votes
9answers
2k views

For what sort of Linux desktop is LVM striping worthwhile?

I run several Linux machines at home and at work. Most of my computing is I/O-limited, e.g., large compiler regression suites and the like. At home I also have one machine that captures ...
16
votes
8answers
1k views

Optimal UNIX File System Partition + Setup Strategy

When partitioning a new system disk(s) for UNIX, what is your prefered strategy for both desktop and/or servers? Please include disk partition layout, file system format(s) and options, mount points, ...