Tag Info

Hot answers tagged

3

After a looong debug session I found that the build and source links in /lib/modules/2.6.32-openvz-042stab090.5-amd64 to /usr/src and /usr/include were missing. Added them manually and it worked. Everyime happy that I can work in Linux where I can at least look into the source and debug...


3

ZFS has limited ability to incrementally update a mirrored drive after it has been offline for a while. TL;DR: You can do what you are looking for the way you are suggesting, but it's not what mirrors are meant to do. In practice, what you are suggesting would almost certainly require a full resilver each time, because the interim changes would lead to too ...


2

For me on Ubuntu 14.04 LTS, I had to set the following To automatically import the zpools, change the value from 1 to 0: File: /etc/init/zpool-import.conf modprobe zfs zfs_autoimport_disable=0 To automatically mount the zfs mounts, add the following line: File: /etc/rc.local zfs mount -a Restarted, and the zpool ZFS mounts were mounted ...


1

Are those 4k drives? Yes, you can see that they report 4096 byte physical which is the indicator for this. The 512 byte logical reporting is a result of drive manufacturers' attempt at backwards compatibility (and thus confuses things). gpart? In your situation I would use the following commands to gpart out the disk: # -- Force ashift to be at least 12 ...


1

The answer was actually different. Just type confirm shell in the cli and you get it. However, it instantly breaks oracle warranty if you type anything else than exit in there.


1

Depending on how long was you pool kept online after the mistake and also how busy was the pool during this period, it might be possible to rollback it to a previous transaction group (i.e. use an older uberblock) where the file system was still present. Here is a script that takes that approach: ...


1

Solaris 11 does not ask you if you want ZFS root because it has no other choice - only ZFS root is supported for Solaris 11 installs - UFS is relegated to supporting data disks only. See Oracle Solaris 11 File System Changes for more details.


1

As I understand, a snapshot on ZFS is just another dataset with a special kind of deduplication. Since the number of datasets in a pool does not affect overall pool performance (except the disk space taken, obviously), I do not see a problem with keeping snapshots as long as there is sufficient space on the disk. I have used snapshots extensively to share ...


1

ZFS supposedly has no performance impact to keeping multiple snapshots around. Conventional LVM snapshots however, do have terrible performance for keeping even one of them around for long, and it gets much worse with more snapshots. A new snapshot system has been in the works for LVM for some time that that alleviates the worsening condition from keeping ...


1

This doesn't completely remove root login, but it does secure things beyond a full-featured login. Set up an SSH trust by copying the local user's public key (usually ~/.ssh/id_rsa.pub) to the authorized_keys file (~/.ssh/authorized_keys) for the remote user. This eliminates password prompts, and improves security as SSH keys are harder to bruteforce. You ...


1

I came upon the same problem earlier today. I found that you can authorize regular users to do certain operations with the "zfs allow" command: as root, do the following on the server: zfs allow your_username receive,create,mount storage/photos Afterwards, you'll be able to ssh into the server using your_username and you'll have zfs privileges to receive. ...


1

http://code.google.com/p/maczfs/wiki/GettingStarted "Be aware of issues inherent in USB and avoid it wherever possible, or be careful." This is for maczfs, I assume this is also the case is for zfs on other OSs. In other words, yes there seems to be serious drawbacks/risks you're exposed to when using usb drives with zfs.


1

Short answer is no, you can't convert it. You'll need to backup, destroy the mirror, create a raidz and restore the filesystems from backup. ZFS supports adding drives to pools without upsetting the original data but you cannot change the configuration (mirror, raidz, etc.) of existing drives in the pool. In your case you could (although I don't recommend ...


1

Would using ZFS increase performance? Hard to say without knowing your typical disk usage and how you configure your system. For example, how much RAM will you allow ZFS to use? The parity calculations between RAID-Z1 and RAID 5 would probably have similar overheads. Would it be a safer option for my data with equal parity? If you mean a mirror, then ...



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