All of lore.kernel.org
 help / color / mirror / Atom feed
* re[2]: [linux-lvm] e2fsadm and snapshots?
@ 2002-11-05 11:25 Greg Freemyer
  2002-11-05 13:14 ` Andreas Dilger
  0 siblings, 1 reply; 11+ messages in thread
From: Greg Freemyer @ 2002-11-05 11:25 UTC (permalink / raw)
  To: LVM Mailing list

 
 >>  I would suggest putting your snapshot LV onto a separate disk and see how
 >>  that does.

 >>  Cheers, Andreas
 >>  --
 >>  Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
 >>  \  would they cancel out, leaving him still hungry?"
 >>  http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


Can that be done?

I thought the snapshot LV had to share the same VG/PV as the base LV.

Is there some way to force the snapshot on to separate physical drives.

In my case, I have 2 RAID-1 drives (3ware hardware based) that I snapshot every night.

If I could force the issue, I would consider putting in a 3rd drive dedicated to holding the snapshot.

Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
Compaq ASE - Tru64 v4, v5
Compaq Master ASE - SAN Architect
The Norcross Group
www.NorcrossGroup.com

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [linux-lvm] e2fsadm and snapshots?
@ 2002-10-31 16:58 Jim King
  2002-10-31 17:29 ` Andreas Dilger
  0 siblings, 1 reply; 11+ messages in thread
From: Jim King @ 2002-10-31 16:58 UTC (permalink / raw)
  To: linux-lvm

I'm trying to set up snapshots on my LVM volumes sort of like the way
Network Appliance does it... with hourly rotating snapshots. The obvious
problem is that the snapshots do not dynamically size. This is a real
issue, because snapshots no longer protect us from someone (for example)
deleting a huge directory accidently.

To solve that I'm trying to figure a way to have them dynamically size
-- with a script that checks how full they are and grows them
automatically if they start to fill up.

Problem:
--------
If I do e2fsadm on a normal LVM volume it works, but if I do e2fsadm on
a snapshot I get something like:

  /sbin/e2fsck: Permission denied while trying to open
     /dev/data1/.mer_dev.hourly.3
  You must have r/w access to the filesystem or be root

Now I'm logged in as root, and the filesystem is unmounted. Ideas? I'm
suspecting it's because the snapshot is ro, but is there a way to work
around this?



In the long run it would be better to have them just dynamically size
without intervention, but obviously that's not a feature yet.


-- 
------------------------------------------------------
Jim King
Multimission Image Processing Lab  (MIPL) Engineering Group
Science Data Processing Systems Section,  Jet Propulsion Lab
James.King@jpl.nasa.gov  
------------------------------------------------------

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-11-05 13:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 11:25 re[2]: [linux-lvm] e2fsadm and snapshots? Greg Freemyer
2002-11-05 13:14 ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2002-10-31 16:58 Jim King
2002-10-31 17:29 ` Andreas Dilger
2002-10-31 18:08   ` Jim King
2002-10-31 19:09   ` Jim King
2002-10-31 22:51     ` Andreas Dilger
2002-11-04 15:32       ` Jim King
2002-11-04 17:30         ` Andreas Dilger
2002-11-05  2:59           ` Joe Thornber
2002-11-01  2:19     ` Jon Bendtsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.