Difference between revisions of "Talk:ZFS"

From ArchWiki
Jump to: navigation, search
(Fixed style and added comment)
(Add my comment about DKMS)
 
(38 intermediate revisions by 16 users not shown)
Line 1: Line 1:
== <s>Partitioning</s> ==
+
== Bindmount ==
 +
Where does this file go and what other steps are required?
  
ZOL FAQ proposes to use whole disk, therefore partitioning is not required. From the same reason, it is not neccessary to create a partition table (be it GPT or ms-dos compatible), ZFS will create it automatically.
+
I would expect: /etc/systemd/system/
  
However, it might still be useful to use a single partition, which is slightly smaller than the size of the disk. This is to allow for problems at the time of disk replacement (e.g. due to failure). Not all disk marketed as 2TB HDD are of the same size and it is not possible to replace a drive in ZFS's vdev with a smaller drive (even when smaller by a few sectors).
+
Then: systemctl enable srv-nfs4-media.mount
  
:I was getting errors when trying to create a zpool using the whole disk without partions. These are on 4 3TB drives that once had a btrfs partiton on them. I am going to now zero out all of my drives with dd and see if I still get the error when trying to create a pool without partitions. Unfortunately this takes 12 hours. --[[User:Demizer|Demizer]] ([[User talk:Demizer|talk]]) 21:47, 13 August 2012 (UTC)
+
[[User:Msalerno|Msalerno]] ([[User talk:Msalerno|talk]]) 02:36, 22 October 2015 (UTC)
  
:I have ran into the following error again {{ic|cannot import 'bigdata': pool may be in use from other system}} I am going to attempt a complete wipe and start over. --[[User:Demizer|Demizer]] ([[User talk:Demizer|talk]]) 00:38, 14 August 2012 (UTC)
+
== resume hook ==
 +
In think in the page is a typo, the page should state ''resume hook'' instead of hibernate, but the limitation still applies. Can anyone confirm that the resume hook must appear before filesystems? [[User:Ezzetabi|Ezzetabi]] ([[User talk:Ezzetabi|talk]]) 09:49, 18 August 2015 (UTC)
  
:: This is because you have imported your filesystem with a different spl hostid. To fix this issue, you can use <code>zfs export</code> --[[User:kylef]]
+
== Automatic build script ==
  
:I have removed the GPT partitioning recommendations. In my testing and google searches, using <code>-f</code> seems to be a standard practice on linux. --[[User:Demizer|Demizer]] ([[User talk:Demizer|talk]]) 04:02, 18 August 2012 (UTC)
+
I'm fine with deleting the scripts. I only posted it because graysky's script never worked for me. Long stuff like this would be useful if the ArchWiki featured roll-up text. [[User:Severach|Severach]] ([[User talk:Severach|talk]]) 10:07, 9 August 2015 (UTC)
  
== Merging with Installing Arch Linux on ZFS? ==
+
:I'd suggest to maintain it in a github repo. You get better versioning, syntax highlighting, cloning, etc. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 12:46, 9 August 2015 (UTC)
  
Does it make sense to keep two different articles? What about just add the sections about how-to add zfs packages to the installation media and the trouble shooting here?
+
::...or an [https://help.github.com/articles/about-gists/#anonymous-gists anonymous gist] if you don't have nor want to create a GitHub account. — [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 08:40, 10 August 2015 (UTC)
  
:Interesting. I think it could work, but I am not sure where to place it. The installing on zfs article is very long. Do you have any ideas? [[User:Demizer|Demizer]] ([[User talk:Demizer|talk]]) 03:24, 2 March 2013 (UTC)
+
:Isn't that exactly what DKMS is doing? There DKMS packages in the AUR. [[User:Das j|Das j]] ([[User talk:Das j|talk]]) 20:01, 10 January 2016 (UTC)
 +
 
 +
== Automatic snapshots ==
 +
{{AUR|zfs-auto-snapshot-git}} seems to have disappeared from the AUR. I haven't been able to find any information on why it was deleted; does anyone know? In any case, it should probably be removed from this page.
 +
[[User:Warai otoko|warai otoko]] ([[User talk:Warai otoko|talk]]) 03:21, 2 September 2015 (UTC)
 +
 
 +
:On further inspection, looks like it may have gotten lost in the transition to AUR4. It should be resubmitted if we want to continue recommending it here; I've found it useful, at any rate. [[User:Warai otoko|Warai otoko]] ([[User talk:Warai otoko|talk]]) 04:43, 2 September 2015 (UTC)
 +
 
 +
:: I've recreated it. I use this script as well. --[[User:Chungy|Chungy]] ([[User talk:Chungy|talk]]) 02:49, 3 September 2015 (UTC)

Latest revision as of 20:02, 10 January 2016

Bindmount

Where does this file go and what other steps are required?

I would expect: /etc/systemd/system/

Then: systemctl enable srv-nfs4-media.mount

Msalerno (talk) 02:36, 22 October 2015 (UTC)

resume hook

In think in the page is a typo, the page should state resume hook instead of hibernate, but the limitation still applies. Can anyone confirm that the resume hook must appear before filesystems? Ezzetabi (talk) 09:49, 18 August 2015 (UTC)

Automatic build script

I'm fine with deleting the scripts. I only posted it because graysky's script never worked for me. Long stuff like this would be useful if the ArchWiki featured roll-up text. Severach (talk) 10:07, 9 August 2015 (UTC)

I'd suggest to maintain it in a github repo. You get better versioning, syntax highlighting, cloning, etc. -- Alad (talk) 12:46, 9 August 2015 (UTC)
...or an anonymous gist if you don't have nor want to create a GitHub account. — Kynikos (talk) 08:40, 10 August 2015 (UTC)
Isn't that exactly what DKMS is doing? There DKMS packages in the AUR. Das j (talk) 20:01, 10 January 2016 (UTC)

Automatic snapshots

zfs-auto-snapshot-gitAUR seems to have disappeared from the AUR. I haven't been able to find any information on why it was deleted; does anyone know? In any case, it should probably be removed from this page. warai otoko (talk) 03:21, 2 September 2015 (UTC)

On further inspection, looks like it may have gotten lost in the transition to AUR4. It should be resubmitted if we want to continue recommending it here; I've found it useful, at any rate. Warai otoko (talk) 04:43, 2 September 2015 (UTC)
I've recreated it. I use this script as well. --Chungy (talk) 02:49, 3 September 2015 (UTC)