[zfs-discuss] Re: ZFS not auto-mounting on Ubuntu

Shamus Rask shamus at srask.ca
Tue May 8 10:47:16 EDT 2012


I successfully created the new pool with:
~$ sudo zpool create zfspool1 mirror /dev/disk/by-id/ata-
Hitachi_HDS5C3030ALA630_MJ1311YNGxxxxx /dev/disk/by-id/ata-
Hitachi_HDS5C3030ALA630_MJ1311YNGyyyyy

When I reboot, /zfspool1 is NOT mounted. Issuing the command:
~$ sudo zfs mount -a

I now see /zfspool:
:~$ df -l
Filesystem      1K-blocks    Used  Available Use% Mounted on
/dev/sdc1       108784760 3237908  100099532   4% /
udev              4023176       4    4023172   1% /dev
tmpfs             1612784     268    1612516   1% /run
none                 5120       0       5120   0% /run/lock
none              4031956       0    4031956   0% /run/shm
zfspool1       2873622400       0 2873622400   0% /zfspool1

I did another sanity check on /etc/default/zfs and both lines have
been changed to 'yes'...

On May 8, 9:02 am, Darik Horn <dajh... at vanadac.com> wrote:
> On Tue, May 8, 2012 at 7:06 AM, Shamus Rask <sha... at srask.ca> wrote:
>
> > I got the following error:
> > invalid option 'd'
> > ...
> > Is this a bug, or am I using an outdated package?
>
> This is my mistake; the bug happens so frequently that "add -d" is
> becoming habit.
>
> The rule about using the long device names still applies, and always
> use `-d` on the import command.
>
> Also note that there are corner cases where `zpool destroy` does not
> produce the expected result.  Clear any disks that are being reused to
> avoid frustration.
>
> --
> Darik Horn <dajh... at vanadac.com>



More information about the zfs-discuss mailing list