You are not logged in.

#1 2012-01-31 13:23:23

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

[SOLVED] Persistent storage not working

Hi,

I've found this [1] but it doesn't seem to be working for me. I specify either "cow_persistent=" or "cow_label=" or both and any changes I make (such as creating a file in /home/arch/) are not saved after a reboot (obviously specifying the same options again at boot time). Am I missing something or is there something else I can try?

[1] http://projects.archlinux.org/archiso.g … README#n41

Thanks

Last edited by jsteel (2012-01-31 14:21:38)


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#2 2012-01-31 13:30:11

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] Persistent storage not working

1. Is there enough space on your device/partition? What's your partition scheme and how exactly are you calling cow_label? I had the best luck just setting filesystem labels and using cow_label.
2. Are you copying files from /etc/skel to your home directory with the little script from the wiki? I made that mistake and it overwrites any changes in /home because that happens AFTER the persistent data is retrieved.

Scott

Offline

#3 2012-01-31 14:21:10

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

Re: [SOLVED] Persistent storage not working

I think space was the issue. I used dd to copy the iso but it looks like it doesn't leave any breathing room. I simply created a fat partition on the rest of the drive and labelled that "cow", specified cow_label=cow and it looks OK now.

Many thanks!


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#4 2012-02-01 13:46:37

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Persistent storage not working

FAT for COW is not a good idea. Such fs does not support sparse files, this implies a waste space.

Offline

#5 2012-02-01 15:15:17

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

Re: [SOLVED] Persistent storage not working

ext3/4 then?

Also it says the default space for "Copy-On-Write files of dm-snapshot" is 75% of the partition. Is there any harm in using 100% if I don't need the space for anything else?

Thanks


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#6 2012-02-01 15:25:38

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Persistent storage not working

Yes.

Please let me know where you read such thing. I guess you are confused with 75% of RAM for tmpfs, when no persistent is used.

Offline

#7 2012-02-01 16:41:57

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

Re: [SOLVED] Persistent storage not working

Yes I was confused. Many thanks.


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

Board footer

Powered by FluxBB