Sponsored Content
Full Discussion: LVM for linux OS?
Operating Systems Linux LVM for linux OS? Post 302488720 by hiddenshadow on Tuesday 18th of January 2011 09:10:31 AM
Old 01-18-2011
LVM for linux OS?

Hi,

What do you means to create so OS Linux directories under LVM?
So, I've installed my machine :

Code:
df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             97943628    524316  92443984   1% /
udev                   4023852       168   4023684   1% /dev
/dev/sda1                93327     61439     27069  70% /boot
/dev/mapper/rootvg-homelv
                       5160576    141436   4756996   3% /home
/dev/mapper/rootvg-optlv
                      15481840    169604  14525804   2% /opt
/dev/mapper/rootvg-srvlv
                      10321208    154348   9642572   2% /srv
/dev/mapper/rootvg-usrlv
                      10321208   3073784   6723136  32% /usr
/dev/mapper/rootvg-varlv
                       5160576    284188   4614244   6% /var

following directorie als primary partition :
/
/boot
swap

and the other like :
/home
/opt
/srv
/usr
/var

with LVM

Could be a problem?

Thanks in advance
 

9 More Discussions You Might Find Interesting

1. Linux

Linux LVM 1.X and muliple path

Hi all, yes this is a linux question :) but also a LVM question. Some time ago, I saw an posting, LVM Version 1.X is abe to handle multiple physical pathes to a disk with using md devices. Is this right ? Now I am planing to create a san and want use linux fileservers with LVM v1.X and most... (1 Reply)
Discussion started by: malcom
1 Replies

2. Filesystems, Disks and Memory

Multiple Paths to SAN with LVM in Linux?

I'm setting up a CentOS 5 server that will be connected to an HP EVA4000. My previous experience is with an HP VA7400 and HP-UX. In HP-UX I can add "alternate paths" to a volume group in order to have redundant paths to the SAN via dual fiber channel HBAs just by either adding them with... (3 Replies)
Discussion started by: deckard
3 Replies

3. UNIX for Advanced & Expert Users

Corrupted journal in a Linux LVM How to recover

Not real Linux expert but here is the problem. Shutdown this machine and then it would not reboot. From everything I can tell it looks like the journal file in the logical volume is corrupted. I have tried everything I can think of to get the volume mounted. Anybody have any ideas on how... (19 Replies)
Discussion started by: ccj4467
19 Replies

4. UNIX for Dummies Questions & Answers

Linux LVM Question

I've three partitions on /dev/sda: sda1, sda2 sda3. There is FREE space between sda2 and sda3 and sda3 ends on the last sector. sda2 and sda3 have the same number of sectors allocated and so are the exact same size. /dev/sda2 is already part of the VG VolGroup. However, what puzzles me is that... (0 Replies)
Discussion started by: Devyn
0 Replies

5. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

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. Slackware

Linux on LVM

Dear all, I found, in Slackware, without using physical/raw partition Linux can be booted & OS will be in LVM but in general people use /boot from physical/raw partition to boot the RedHat linux System & root and other file systems would be in LVM. My doubt is how a system will be booted without... (5 Replies)
Discussion started by: Tlogine
5 Replies

7. UNIX for Advanced & Expert Users

How to shrink root file system (LVM) in Linux Fedora 9?

My root file system is of type LVM. i wanna shrink it but unable to do so. When i give the below command: resize2fs /dev/mapper/VolGroup00-VolLog00 10000M it messages that online shrink can't can't be done as the logical volume is mounted on /. i switched to single user mode by giving command:... (2 Replies)
Discussion started by: ravisingh
2 Replies

8. Ubuntu

Linux LVM.. Grub not loading from replaced disk

Hi, a little while ago, one of the GPT Partitioned hard disk had gone faulty in a Mirror RAID and is now successfully replaced. here is how I did that. 1) created identical partition table on the new disk. 2) attached the mirrors using md commands. The whole procedure is given... (5 Replies)
Discussion started by: busyboy
5 Replies

9. Red Hat

Linux partition with LVM

Hi, I need a suggesstion i have 2 disk if i installed OS / root partition by making Lvm in one disk and data in other disk also with the lvm, means 2 different lvms. Is making LVM partition for OS disk will the performacne will be good? Can i make 2 different lvm one is for OS and other for... (1 Reply)
Discussion started by: Rahulne25
1 Replies
OCF_HEARTBEAT_LVM(7)						OCF resource agents					      OCF_HEARTBEAT_LVM(7)

NAME
ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group SYNOPSIS
LVM [start | stop | status | monitor | methods | meta-data | validate-all] DESCRIPTION
Resource script for LVM. It manages an Linux Volume Manager volume (LVM) as an HA resource. SUPPORTED PARAMETERS
volgrpname The name of volume group. (required, string, no default) exclusive If set, the volume group will be activated exclusively. (optional, string, default false) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 30. stop Stops the resource. Suggested minimum timeout: 30. status Performs a status check. Suggested minimum timeout: 30. monitor Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10. methods Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a LVM resource using the crm(8) shell: primitive example_LVM ocf:heartbeat:LVM params volgrpname=string op monitor depth="0" timeout="30" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/LVM_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_LVM(7)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy