LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-23-2015, 03:55 AM   #1
sunrise2015
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Rep: Reputation: Disabled
Question lvm snapshot cannot work when it takes on mounting files from network, so does zfs


I wanted to use snapshot to backup data from my windows on my openfiler, so I used lvm create a logic volume, and mounted it on /mnt/vg1/lv1, then I mounted windows files through cifs on /mnt/vg1/lv1/windows,then take a snapshot for lv1, but when I mounted the snapshot on /mnt/vg1/snapshot_lv1
there was nothing in /mnt/vg1/lv1/windows, why? I try this on zfs, there is also nothing. However, my boss told me that NetApp could. I cannot find solution with openfiler, can it do this with openfiler? I want to know how, so I ask for help here. so badly my English. thank you.
 
Old 09-24-2015, 10:53 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by sunrise2015 View Post
I wanted to use snapshot to backup data from my windows on my openfiler, so I used lvm create a logic volume, and mounted it on /mnt/vg1/lv1, then I mounted windows files through cifs on /mnt/vg1/lv1/windows,then take a snapshot for lv1, but when I mounted the snapshot on /mnt/vg1/snapshot_lv1
there was nothing in /mnt/vg1/lv1/windows, why? I try this on zfs, there is also nothing. However, my boss told me that NetApp could. I cannot find solution with openfiler, can it do this with openfiler? I want to know how, so I ask for help here. so badly my English. thank you.

Hi Sunrise, that will never work, what you did was crate a LVM volume and mount over top of the volume, which means nothing on the LVM volume was written, you have just mounted your windows share ontop of the same mount point...

In Windows lingo, (if windows would let you) you have essentially renamed drive D: to C: without updating the original drive C: drive letter so now they are both drive C: then wondered were everything on the old drive C: went...

You can't use LVM snapshots externally, all snapshots must be within an LVM volume, you can't mount something over top of it and try to snapshot it, it doesn't work that way.

Last edited by /dev/random; 09-24-2015 at 10:54 AM.
 
Old 09-24-2015, 08:25 PM   #3
sunrise2015
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi /dev/random, thank you very much for your replay. I agree your point that it cannot work that way with LVM snapshot, but I learn that at least snapshotroot can do it, do you know any opensource applications can do it? And as I know all snapshots are for a volume or a file system, do you know any snapshot applications can make snapshot for files or directories? Thank you again.
 
Old 09-25-2015, 01:15 PM   #4
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by sunrise2015 View Post
Hi /dev/random, thank you very much for your replay. I agree your point that it cannot work that way with LVM snapshot, but I learn that at least snapshotroot can do it, do you know any opensource applications can do it? And as I know all snapshots are for a volume or a file system, do you know any snapshot applications can make snapshot for files or directories? Thank you again.
Try rsnapshot
 
Old 09-25-2015, 08:00 PM   #5
sunrise2015
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by /dev/random View Post
Try rsnapshot
Thank you!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] eudev-3.1.1 breaks LVM snapshot mounting re_nelson Linux From Scratch 4 06-09-2015 02:16 AM
[SOLVED] what is a LVM snapshot? aceone Red Hat 6 05-22-2010 12:08 PM
LVM Snapshot eldo Linux - Server 2 11-20-2009 04:10 AM
lvm snapshot Ammad Linux - General 1 02-18-2009 07:03 AM
LXer: OpenSolaris gets ZFS snapshot visualization feature LXer Syndicated Linux News 0 11-02-2008 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration