Tag Info

Hot answers tagged

12

Don't go down the road of breaking the ZFS array to "rotate" disks offsite. As you've seen, the rebuild time is high and the resilvering process will read/verify the used size of the dataset. If you have the ability, snapshots and sending data to a remote system is a clean, non-intrusive approach. I suppose you could go through the process of having a ...


4

After further experimentation I've found a fair solution, however it comes with a significant trade-off. Disks which have been offline'd but not detached can later be brought back online with only an incremental resilvering operation ("When a device is brought online, any data that has been written to the pool is resynchronized with the newly available ...


3

You just need to create the pool with encryption enabled for its top dataset: zpool create -O encryption=on ...


3

Yes, you can use sparse files as VDEVs when creating a ZFS pool. Although there was a bug affecting an early Linux ZFS port that prevented it to work, it was fixed four years ago. You shouldn't expect performance or reliability with file based vdevs though. Quoting the zpool manual page: The use of files as a backing store is strongly discouraged. It is ...


3

Remove "disk" from your command line. It's the cause of the error you're receiving. zpool create MyPool sda


2

Try using this guide: Aaron Topence - ZFS on Linux. Assuming you are trying to create a zfs pool called MyPool, using /dev/sda as a disk, try: # zpool create MyPool sda


2

Your new filesystem is in /zpgd0/iSCSI. To access it, you can cd /zpgd0/iSCSI. If it is not currently mounted, you can use zfs mount zpgd0/iSCSI. Due to the naming of the filesystem, I'm betting that you probably want to create a ZFS zvol to present as block storage for iSCSI. If that's the case, what you're doing is taking you down the wrong path.


2

Basicly there is no official way to recover other than restore from backup. But there is ZFS feature called rewind, that may be possible to remove transactions from the pool to a point that the pool is functional again. The following text is from ZFS Internals blog part #11 DO NOT TRY IT IN PRODUCTION. USE AT YOUR OWN RISK! zpool import -FX mypool ...


1

ZFS mirrors are usually much better than RAIDZ(1/2/3) for a variety of reasons (performance, expansion, sanity). This confusion about displayed size is one of them. Please see: Why is my RAIDZ2 pool larger than the expected size calculation?


1

Yes, you've rendered your disks unusable... Maybe there's some ZDB magic that can help, but creating RAID 0 HP Logical Drives is a pretty deliberate action. There would have been a clear warning that the data contained on the disks would be lost because of the Smart Array metadata. In general, multiple RAID 0 Logical Drives for ZFS is a bad idea behind a ...


1

Finally I've found that my ZFS pool is not corrupted. Old server imports/exports pool without any problem. The only difference was in ZFS kernel version and modules versions: Old: kernel 3.13.0-39-generic, SPL: v0.6.3-1~trusty, ZFS: v0.6.3-3~trusty New: kernel 3.13.0-43-generic, SPL: v0.6.3-3~trusty, ZFS: v0.6.3-5~trusty And, zfs slices were made in ...


1

NAME STATE READ WRITE CKSUM projects FAULTED 0 0 1 gptid/49d49544-5a47-11e2-b516-00259095142c ONLINE 0 0 0 gptid/49f3c886-5a47-11e2-b516-00259095142c ONLINE 0 0 2 gptid/4a1052aa-5a47-11e2-b516-00259095142c ONLINE 0 0 ...


1

dear all I found my answer https://community.oracle.com/thread/3714952?sr=inbox The behavior is expected with single node clusters in a geo-cluster configuration: If an entire cluster goes down then comes back up, the expected behavior is that geo edition stops the protection groups on the local cluster at boot up. The reason for this is that a ...



Only top voted, non community-wiki answers of a minimum length are eligible