[OmniOS-discuss] Loosing NFS shares

Oliver Weinmann oliver.weinmann at telespazio-vega.de
Thu Jun 22 08:51:07 UTC 2017


Hi,

Running the zfs mount –a from / shows the same errors.

I now ran the following commands to correct the mountpoints:

Re-enable inheritance:

zfs inherit -r mountpoint hgst4u60/ReferencePR

Reset mountpoint on the root folder:

zfs set mountpoint=/hgst4u60/ReferencePR hgst4u60/ReferencePR

unmount all subfolders:

for fs in `zfs mount | grep ReferencePR | awk '{print $2}'`; do zfs unmount $fs; done

Check that all subfolders are unmounted:

zfs mount | grep ReferencePR

Check that all folders are empty, just to be sure!!!:

du  /hgst4u60/ReferencePR

If they are empty remove the root folder:

rm -rf /hgst4u60/ReferencePR

Finally remount:

zfs mount –a


This solves the mount issues but I wonder why this has happened? And hopefully this doesn’t happen again?




[cid:Logo_Telespazio_180_px_signature_eng_b58fa623-e26d-4116-9230-766adacfe55e1111111111111.png]

Oliver Weinmann
Senior Unix VMWare, Storage Engineer

Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744 | Fax: +49 (0)6151 8257 799
oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>
http://www.telespazio-vega.de

Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt, HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller
From: Sriram Narayanan [mailto:sriramnrn at gmail.com]
Sent: Donnerstag, 22. Juni 2017 10:26
To: Oliver Weinmann <oliver.weinmann at telespazio-vega.de>
Cc: Stephan Budach <stephan.budach at jvm.de>; omnios-discuss <omnios-discuss at lists.omniti.com>
Subject: Re: [OmniOS-discuss] Loosing NFS shares



On Thu, Jun 22, 2017 at 3:45 PM, Oliver Weinmann <oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>> wrote:
One more thing I just noticed is that the system seems to be unable to mount directories:

root at omnios01:/hgst4u60/ReferenceAC/AGDEMO# /usr/sbin/zfs mount -a
cannot mount '/hgst4u60/ReferenceAC': directory is not empty
cannot mount '/hgst4u60/ReferenceDF': directory is not empty
cannot mount '/hgst4u60/ReferenceGI': directory is not empty
cannot mount '/hgst4u60/ReferenceJL': directory is not empty
cannot mount '/hgst4u60/ReferenceMO': directory is not empty
cannot mount '/hgst4u60/ReferencePR': directory is not empty
cannot mount '/hgst4u60/ReferenceSU': directory is not empty
cannot mount '/hgst4u60/ReferenceVX': directory is not empty
cannot mount '/hgst4u60/ReferenceYZ': directory is not empty

Maybe this is where all problems are coming from?

Please issue the zfs mount -a command from elsewhere rather than from within "/hgst4u60/ReferenceAC"

It also seems that "" and the others may already have local files. If possible, then rename those Reference* directories and issue the zfs mount -a again.


From: Stephan Budach [mailto:stephan.budach at jvm.de<mailto:stephan.budach at jvm.de>]
Sent: Donnerstag, 22. Juni 2017 09:30
To: Oliver Weinmann <oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>>
Cc: omnios-discuss <omnios-discuss at lists.omniti.com<mailto:omnios-discuss at lists.omniti.com>>
Subject: Re: [OmniOS-discuss] Loosing NFS shares

Hi Oliver,

________________________________
Von: "Oliver Weinmann" <oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>>
An: "Tobias Oetiker" <tobi at oetiker.ch<mailto:tobi at oetiker.ch>>
CC: "omnios-discuss" <omnios-discuss at lists.omniti.com<mailto:omnios-discuss at lists.omniti.com>>
Gesendet: Donnerstag, 22. Juni 2017 09:13:27
Betreff: Re: [OmniOS-discuss] Loosing NFS shares

Hi,

Don’t think so:

svcs -vx rcapd

shows nothing.




[cid:image001.png at 01D2EB3B.A023E330]

Oliver Weinmann
Senior Unix VMWare, Storage Engineer

Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744<tel:+49%206151%208257744> | Fax: +49 (0)6151 8257 799<tel:+49%206151%208257799>
oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>
http://www.telespazio-vega.de

Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt, HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller
From: Tobias Oetiker [mailto:tobi at oetiker.ch]
Sent: Donnerstag, 22. Juni 2017 09:11
To: Oliver Weinmann <oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>>
Cc: omnios-discuss <omnios-discuss at lists.omniti.com<mailto:omnios-discuss at lists.omniti.com>>
Subject: Re: [OmniOS-discuss] Loosing NFS shares

Oliver,

are you running rcapd ? we found that (at least of the box) this thing wrecks havoc to both
nfs and iscsi sharing ...

cheers
tobi

----- On Jun 22, 2017, at 8:45 AM, Oliver Weinmann <oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>> wrote:
Hi,

we are using OmniOS for a few months now and have big trouble with stability. We mainly use it for VMware NFS datastores. The last 3 nights we lost all NFS datastores and VMs stopped running. I noticed that even though zfs get sharenfs shows folders as shared they become inaccessible. Setting sharenfs to off and sharing again solves the issue. I have no clue where to start. I’m fairly new to OmniOS.

Any help would be highly appreciated.

Thanks and Best Regards,
Oliver



[cid:image001.png at 01D2EB3B.A023E330]

Oliver Weinmann
Senior Unix VMWare, Storage Engineer

Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744<tel:+49%206151%208257744> | Fax: +49 (0)6151 8257 799<tel:+49%206151%208257799>
oliver.weinmann at telespazio-vega.de<mailto:oliver.weinmann at telespazio-vega.de>
http://www.telespazio-vega.de

Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt, HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller

What is the output from fmdump / fmdump -v? Also, it would be good to have a better understanding of your setup. We have been using NFS shares from OmniOS since r006 on OVM and also VMWare and at least the NFS part has always been very solid for us. So, how did you setup your storage and how many NFS clients do you have?

Cheers,
Stephan

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com<mailto:OmniOS-discuss at lists.omniti.com>
http://lists.omniti.com/mailman/listinfo/omnios-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170622/52825676/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7535 bytes
Desc: image001.png
URL: <https://omniosce.org/ml-archive/attachments/20170622/52825676/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo_Telespazio_180_px_signature_eng_b58fa623-e26d-4116-9230-766adacfe55e1111111111111.png
Type: image/png
Size: 7535 bytes
Desc: Logo_Telespazio_180_px_signature_eng_b58fa623-e26d-4116-9230-766adacfe55e1111111111111.png
URL: <https://omniosce.org/ml-archive/attachments/20170622/52825676/attachment-0003.png>


More information about the OmniOS-discuss mailing list