- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: lvm on linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 07:08 AM
тАО06-04-2003 07:08 AM
I am using lvm for linux I want to be able to mirror one of my lvol, Is this possible with lvm under linux? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 02:06 PM
тАО06-04-2003 02:06 PM
Re: lvm on linux
I found my answer. Mirroring is not implemented under Linux LVM.
But I found that you can RAID the disk as raid one and run LVM on top of it. It's the the same as lvm mirroring. But it works. I am currently testing it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 04:24 PM
тАО06-04-2003 04:24 PM
SolutionI'm using the mirroring setup(software) that came with Red Hat 7.3 for Raid 10 on my production web hosting servers. I have had no incidents in 10 months of production use. Its reliable and efficient. Prior to going production I tested it by power disabling one of the two IDE drives. The system continued to run and was easily brought back to synch status.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 07:10 PM
тАО06-04-2003 07:10 PM
Re: lvm on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 07:59 AM
тАО06-05-2003 07:59 AM
Re: lvm on linux
I configured RAID at *install* time, with a striped volume with RAID 0 for a swap (to test perfomance) and a mirrored RAID 1 volume for data (exported with NFS)
All works fine since then, and in my tests, the swap performs very nice.
This is my raidtab file, where /dev/md1 is the data volume (mirror), and /dev/md0 is the swap volume (striped)
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hde2
raid-disk 0
device /dev/hdg2
raid-disk 1
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 06:12 PM
тАО06-05-2003 06:12 PM
Re: lvm on linux
this nice, I wonder have you tested if swap still works if disk hde or hdg is yank out? will the server crash, since you striped swap? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2003 06:27 AM
тАО06-06-2003 06:27 AM
Re: lvm on linux
For the test, you must enable the swap striped volume with swapon /dev/md0, and at end of test, take it off with swapoff /dev/md0
(md0 is my stripedd volume)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2003 07:26 AM
тАО06-07-2003 07:26 AM
Re: lvm on linux
I'm using LVM under RH 9 and as i see there is no such thing as mirror for LV.
But you can try raid commands.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2003 08:15 PM
тАО06-08-2003 08:15 PM
Re: lvm on linux
http://www.tldp.org/HOWTO/ATA-RAID-HOWTO/index.html
Another link
http://www.tldp.org/HOWTO/mini/DPT-Hardware-RAID.html
If you want to use software raid and LILO
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO.html
Old software raid
http://www.tldp.org/HOWTO/Root-RAID-HOWTO.html
Software Raid .9 and up.
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
I did it with GRUB. Basically thus:
When doing an initial install of Red Hat 7.2 there are options in the graphical disk druid that let you set up RAID.
You have to first set up the filesystem, then set up the mirror and choose your raid.
It can be done after the fact on the command line but I don't have those commands happy. Should have included these links with my original post.
More on RAID:
http://linas.org/linux/Software-RAID/Software-RAID.html
http://www.ostenfeld.dk/~jakob/Software-RAID.HOWTO/Software-RAID.HOWTO.html
Somewhere in one of these these links is the actual document I used. I kept a hard copy at home which I'm not at right now.
I do apologize for sending you on a hunt, but none of these docs appears to be exactly what I used.
The good news is in two days, I'll be home.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com