CentOS fs (or folder) snapshot without LVM
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I do not have an LVM volume in my CentOS7 setup, since RAID1 on XFS with LVM on top = possibly sub-optimal performance (as stated here, have a look at Andres719's comment)
However, I want to take a snapshot of atleast my DB and data folders for backup.
Is there a way I can get a snapshot of the folders without LVM.
(I may use 'cp', but then my production server will take a performance hit. Also, DBs will have to remain closed while cp does its work on, say, a 500GB folder)
linux centos backup snapshot
 |Â
show 2 more comments
up vote
0
down vote
favorite
I do not have an LVM volume in my CentOS7 setup, since RAID1 on XFS with LVM on top = possibly sub-optimal performance (as stated here, have a look at Andres719's comment)
However, I want to take a snapshot of atleast my DB and data folders for backup.
Is there a way I can get a snapshot of the folders without LVM.
(I may use 'cp', but then my production server will take a performance hit. Also, DBs will have to remain closed while cp does its work on, say, a 500GB folder)
linux centos backup snapshot
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done withmdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.
â Hauke Laging
Apr 29 at 0:00
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
1
To quote the article you linked"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?
â Patrick
Apr 29 at 0:27
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I do not have an LVM volume in my CentOS7 setup, since RAID1 on XFS with LVM on top = possibly sub-optimal performance (as stated here, have a look at Andres719's comment)
However, I want to take a snapshot of atleast my DB and data folders for backup.
Is there a way I can get a snapshot of the folders without LVM.
(I may use 'cp', but then my production server will take a performance hit. Also, DBs will have to remain closed while cp does its work on, say, a 500GB folder)
linux centos backup snapshot
I do not have an LVM volume in my CentOS7 setup, since RAID1 on XFS with LVM on top = possibly sub-optimal performance (as stated here, have a look at Andres719's comment)
However, I want to take a snapshot of atleast my DB and data folders for backup.
Is there a way I can get a snapshot of the folders without LVM.
(I may use 'cp', but then my production server will take a performance hit. Also, DBs will have to remain closed while cp does its work on, say, a 500GB folder)
linux centos backup snapshot
asked Apr 28 at 23:49
vjjj
1112
1112
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done withmdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.
â Hauke Laging
Apr 29 at 0:00
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
1
To quote the article you linked"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?
â Patrick
Apr 29 at 0:27
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46
 |Â
show 2 more comments
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done withmdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.
â Hauke Laging
Apr 29 at 0:00
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
1
To quote the article you linked"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?
â Patrick
Apr 29 at 0:27
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done with
mdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.â Hauke Laging
Apr 29 at 0:00
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done with
mdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.â Hauke Laging
Apr 29 at 0:00
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
1
1
To quote the article you linked
"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?â Patrick
Apr 29 at 0:27
To quote the article you linked
"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?â Patrick
Apr 29 at 0:27
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440662%2fcentos-fs-or-folder-snapshot-without-lvm%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I guess you misunderstood that comment. The performance hint refers to doing RAID-1 on a single drive (which could be done with
mdadm
as well, no need for LVM to do this). But XFS can do snapshots on filesystem level so no need for LVM either.â Hauke Laging
Apr 29 at 0:00
@Hauke - could you please point me to an article or command used to get an XFS snapshot. I usually find LVM snapshot articles when I search online for 'XFS snapshot'
â vjjj
Apr 29 at 0:05
Sorry, I misread a headline (I do not use XFS myself). XFS seems not to offer snapshots yet.
â Hauke Laging
Apr 29 at 0:14
1
To quote the article you linked
"how do I do X" and the answer will be "do you have LVM" and you'll say "I don't" and we will answer "why not, now you can't do X
. If you're concerned about performance, did you do any benchmarks before you ruled LVM out?â Patrick
Apr 29 at 0:27
@Patrick - I didn't benchmark myself, but had a look at this - serverfault.com/questions/518329/â¦
â vjjj
Apr 29 at 0:46