Good filesystem to manage space efficientlyHow to set up ZFS with ZIL and L2ARC SSD?What is the order in...
Is tuition reimbursement a good idea if you have to stay with the job
How to properly use a function under a class?
Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?
Is the first of the 10 Commandments considered a mitzvah?
Why is it bad to use your whole foot in rock climbing
How can powerful telekinesis avoid violating Newton's 3rd Law?
What is Gilligan's full name?
What does this line mean in Zelazny's The Courts of Chaos?
Realistic, logical way for men with medieval-era weaponry to compete with much larger and physically stronger foes
ISP is not hashing the password I log in with online. Should I take any action?
Do Veracrypt encrypted volumes have any kind of brute force protection?
Given n Bernouli Trials with probability p, what is the probability of (Number of Sucess/Number of Failures) be within a range?
Must CPU have a GPU if motherboard provides display port (when no separate video card)?
Can an open source licence be revoked if it violates employer's IP?
Can you open the door or die? v2
Why are ambiguous grammars bad?
When a class dynamically allocates itself at constructor, why does stack overflow happen instead of std::bad_alloc?
Did I need a visa in 2004 and 2006?
Nth term of Van Eck Sequence
If absolute velocity does not exist, how can we say a rocket accelerates in empty space?
Was the Lonely Mountain, where Smaug lived, a volcano?
Jam with honey & without pectin has a saucy consistency always
What is the language spoken in Babylon?
LWC: detect last element in for:each iteration
Good filesystem to manage space efficiently
How to set up ZFS with ZIL and L2ARC SSD?What is the order in which physical volumes are used in a volume group?Can I get SSD rw performance while keeing data security if I combine SSD & HDD in btrfs RAID1Combining SSD + HDD into single fast, large partition?Reliability of ZFS/ ext4 on ZVOL, used not for performance but for transparent compression, on low memory system?Why don't LVM and RAID require a clustered filesystemmoving only some directories / filesystems to ZFS datasetsSpan BTRFS over multiple partitions to increase disk spaceFreeBSD can't mount home partitionUnable to explain zfs referenced after rsync
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Quick question: is there a filesystem that let me
- automatically "resize" (up or down) partitions,
- share one partition between several devices, and
- make sure that some content only go to one device and not the other?
Context:
I have two drives, a big HDD (1 TB) that I trust, and a very small SSD (24 GB) that I do not trust (i.e. it could be destroyed at any time, but this should not corrupt the data on the HDD). To simplify, let's say I have two folders only:
/nixwill contain the system: I don't mind if I lose this partition, so I'd like to have it as much as possible on the SSD to launch new apps quickly. But '/nix' could contain more that 24 GB of data, so it needs to be partly on the HDD as well./homewill contain the data: it contains valuable data that I do not want to put on the SSD to make sure I don't lose them in case of a corruption of the SSD.
For now, I created 3 LVM partitions (physical volumes): two partitions on the HDD (hdda, hddb), and one the SDD (sdda), and I created two LWM group volumes, one that contains hdda + sdda (for the ext4 partition /nix), and one that contains hddb (for the ext4 partition/home). But the problem is that the total size of /nix + /home is always close to the maximum available size, so when I need more memory on /home, I need to shrink down /nix. And shrinking a partition is not super practical, as it requires to boot from a live CD, and takes time...
I saw that the very poverful ZFS (that even allows compression!) can automatically "resize" the partition for me, but unfortunately I can't find how to say "keep the /home partition in HDD, and keep the /nix partition in SDD if possible".
Is there any better filesystem that allows that (compression would be nice as well), or a way to use ZFS in that manner?
Thanks!
filesystems btrfs zfs
add a comment |
Quick question: is there a filesystem that let me
- automatically "resize" (up or down) partitions,
- share one partition between several devices, and
- make sure that some content only go to one device and not the other?
Context:
I have two drives, a big HDD (1 TB) that I trust, and a very small SSD (24 GB) that I do not trust (i.e. it could be destroyed at any time, but this should not corrupt the data on the HDD). To simplify, let's say I have two folders only:
/nixwill contain the system: I don't mind if I lose this partition, so I'd like to have it as much as possible on the SSD to launch new apps quickly. But '/nix' could contain more that 24 GB of data, so it needs to be partly on the HDD as well./homewill contain the data: it contains valuable data that I do not want to put on the SSD to make sure I don't lose them in case of a corruption of the SSD.
For now, I created 3 LVM partitions (physical volumes): two partitions on the HDD (hdda, hddb), and one the SDD (sdda), and I created two LWM group volumes, one that contains hdda + sdda (for the ext4 partition /nix), and one that contains hddb (for the ext4 partition/home). But the problem is that the total size of /nix + /home is always close to the maximum available size, so when I need more memory on /home, I need to shrink down /nix. And shrinking a partition is not super practical, as it requires to boot from a live CD, and takes time...
I saw that the very poverful ZFS (that even allows compression!) can automatically "resize" the partition for me, but unfortunately I can't find how to say "keep the /home partition in HDD, and keep the /nix partition in SDD if possible".
Is there any better filesystem that allows that (compression would be nice as well), or a way to use ZFS in that manner?
Thanks!
filesystems btrfs zfs
add a comment |
Quick question: is there a filesystem that let me
- automatically "resize" (up or down) partitions,
- share one partition between several devices, and
- make sure that some content only go to one device and not the other?
Context:
I have two drives, a big HDD (1 TB) that I trust, and a very small SSD (24 GB) that I do not trust (i.e. it could be destroyed at any time, but this should not corrupt the data on the HDD). To simplify, let's say I have two folders only:
/nixwill contain the system: I don't mind if I lose this partition, so I'd like to have it as much as possible on the SSD to launch new apps quickly. But '/nix' could contain more that 24 GB of data, so it needs to be partly on the HDD as well./homewill contain the data: it contains valuable data that I do not want to put on the SSD to make sure I don't lose them in case of a corruption of the SSD.
For now, I created 3 LVM partitions (physical volumes): two partitions on the HDD (hdda, hddb), and one the SDD (sdda), and I created two LWM group volumes, one that contains hdda + sdda (for the ext4 partition /nix), and one that contains hddb (for the ext4 partition/home). But the problem is that the total size of /nix + /home is always close to the maximum available size, so when I need more memory on /home, I need to shrink down /nix. And shrinking a partition is not super practical, as it requires to boot from a live CD, and takes time...
I saw that the very poverful ZFS (that even allows compression!) can automatically "resize" the partition for me, but unfortunately I can't find how to say "keep the /home partition in HDD, and keep the /nix partition in SDD if possible".
Is there any better filesystem that allows that (compression would be nice as well), or a way to use ZFS in that manner?
Thanks!
filesystems btrfs zfs
Quick question: is there a filesystem that let me
- automatically "resize" (up or down) partitions,
- share one partition between several devices, and
- make sure that some content only go to one device and not the other?
Context:
I have two drives, a big HDD (1 TB) that I trust, and a very small SSD (24 GB) that I do not trust (i.e. it could be destroyed at any time, but this should not corrupt the data on the HDD). To simplify, let's say I have two folders only:
/nixwill contain the system: I don't mind if I lose this partition, so I'd like to have it as much as possible on the SSD to launch new apps quickly. But '/nix' could contain more that 24 GB of data, so it needs to be partly on the HDD as well./homewill contain the data: it contains valuable data that I do not want to put on the SSD to make sure I don't lose them in case of a corruption of the SSD.
For now, I created 3 LVM partitions (physical volumes): two partitions on the HDD (hdda, hddb), and one the SDD (sdda), and I created two LWM group volumes, one that contains hdda + sdda (for the ext4 partition /nix), and one that contains hddb (for the ext4 partition/home). But the problem is that the total size of /nix + /home is always close to the maximum available size, so when I need more memory on /home, I need to shrink down /nix. And shrinking a partition is not super practical, as it requires to boot from a live CD, and takes time...
I saw that the very poverful ZFS (that even allows compression!) can automatically "resize" the partition for me, but unfortunately I can't find how to say "keep the /home partition in HDD, and keep the /nix partition in SDD if possible".
Is there any better filesystem that allows that (compression would be nice as well), or a way to use ZFS in that manner?
Thanks!
filesystems btrfs zfs
filesystems btrfs zfs
edited 28 mins ago
K7AAY
1,95811029
1,95811029
asked 1 hour ago
tobiasBoratobiasBora
372313
372313
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524323%2fgood-filesystem-to-manage-space-efficiently%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524323%2fgood-filesystem-to-manage-space-efficiently%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown