Hey, guys,
I'm interest to use encryption for my data, but only a specific share folder, not entire drive or RAID.
It's a Samba share.
What's the best way?
Maybe eCryptfs ?
Hey, guys,
I'm interest to use encryption for my data, but only a specific share folder, not entire drive or RAID.
It's a Samba share.
What's the best way?
Maybe eCryptfs ?
What problem? Resize has a very specific use case and is generally used for when a drive is added to a raid array. What are you trying to do? Maybe it is in the audio but I can't hear that.
I just want, as shown in the video, to expand Media or Documents, give it more space.
As I said before, I have no data on the volumes, I just wanted to try to resize the volumes in case I need it
I just want, as shown in the video, to expand Media or Documents, give it more space.
As I said before, I have no data on the volumes, I just wanted to try to resize the volumes in case I need it
Did you create a zfs volume then a luks device on top of that and then an ext4 filesystem inside that? I don't have time to watch the video a bunch of times to figure that out. But either way, you can't resize the luks device with the luks plugin which means you can't resize (at least can't make bigger) a filesystem on that luks device.
Hey, guys,
I'm interest to use encryption for my data, but only a specific share folder, not entire drive or RAID.
It's a Samba share.
What's the best way?
Maybe eCryptfs ?
Hi,
eCryptfs works like a charm.
Did you create a zfs volume then a luks device on top of that and then an ext4 filesystem inside that? I don't have time to watch the video a bunch of times to figure that out. But either way, you can't resize the luks device with the luks plugin which means you can't resize (at least can't make bigger) a filesystem on that luks device.
That is exactly what I did!
So is there a way to resize a luks device at all?
If there isn't, that means that the size I chose for the volumes will be the final size?
I tried this (http://alittlestupid.com/2010/…how-to-grow-a-zfs-volume/) but as you can see in the very beginning of the latest video or the image attached, there is no mountpoint for the two volumes created.
P.S : About the videos the longer one is 2min long
Hi,
eCryptfs works like a charm.
Good to know.
Your setup is for SFTP, and it's long.
So is there a way to resize a luks device at all?
I just said you can't resize from the plugin. cryptsetup resize DEVICE_NAME will resize the luks container if you make the device underneath it larger. I do it quite often at work. Then you could resize the filesystem on the LUKS container. Not sure about resizing zfs volumes.
Your setup is for SFTP, and it's long.
Yes, that's my usecase.
But it's not necessary to SFTP-mount a local folder.
Then the setup becomes shorter.
1. extend zfs volume size on luks
as ryecoaaron noted, it can be done cryptosetup resize. (but only in cli, not gui)
change text inside <> to appropriate value for your needs
#resize zfs volume
zfs set volsize=<40GB> <tank/files>
#resize luks
cryptosetup resize <zd0-crypt>
#resize ext4
resize2fs </dev/dm-0>
2.
it is by design that click lock button is disabled when luks is referenced (for example shared folder use luks)
don't know why this is designed in such way
(I think force lock feature is useful but I'm not 100% sure about that)
so, to lock luk that is reference
just reboot or
Alles anzeigen1. extend zfs volume size on luks
as ryecoaaron noted, it can be done cryptosetup resize. (but only in cli, not gui)
change text inside <> to appropriate value for your needsCode#resize zfs volume zfs set volsize=<40GB> <tank/files> #resize luks cryptosetup resize <zd0-crypt> #resize2fs </dev/dm-0>
2.
it is by design that click lock button is disabled when luks is referenced (for example shared folder use luks)
don't know why this is designed in such way
(I think force lock feature is useful but I'm not 100% sure about that)
so, to lock luk that is reference
just reboot or
Thanks luxflow for your input.
I tried what you and ryecoaaron suggested but it didn't work. :-/
As alaways, I made a video so that you can see if I'm doing anything wrong :
zfs set volsize=1.5tb mainPool/Documents
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!