Mounting an NFS on Solaris box to create a flash archive backup

My oringinal topic has been closed since the original problem was solved.

Now, I'm trying to mount an NFS file system on my box.

Connections is successful to the NAS.
But I still didn't manage to successfully mount an NFS.

I tried to troubleshoot from the NAS side, but didn't find helpful resources about NFD handles.

The attached photo shows setting and allocating 100GB for the client 10.1.0.250(good machine new IP address).

NAS address is 192.168.2.106

Set up steps go like this:

  1. Check network connection between client and NAS by pinging ip address from the client (Solaris). I assume that already works.
  2. Configure a NFS share on the NAS and publish the LUN to a specific or all ip address.
  3. Check from the Solaris client that the NFS share can be seen using
# showmount -e <ip address of NAS>

If that doesn't show the NFS share as being available you have no chance of proceeding without fixing that.

  1. If share is visible try to mount it. Modern NFS comes in version 2,3,& 4 and both ends must talk the same language. So you might need to specify version:
# mount -F nfs -o vers=3 <path to NAS/NFS share name> /mnt

That should just come back with a prompt (no errors). If so, try creating/deleting files in /mnt just to test you can write/read to NAS.


That's all I have seen on the NAS side to set-up NFS.

I will look more for resources about that.

What I see right now, is that the IT administrator has initiated an iSCSI target for my IP address and the name of the iSCSI image file as shown in the first photo.

There is a difference between NFS and iSCSI.
Is it possible to create a flash archive on iSCSI???

In the meantime, I will search more about setting an NFS file system on my NAS(mycloud ex4100)

That is DNS not NFS.

NFS is about file sharing, Unix style. (CIFS/SMB is file sharing MS Windows style.)

ISCSI is for attaching a remote disk, that then behaves like a local disk ("data block level").
A "local" disk is where you put a filesystem on (e.g. ext3 or ext4).
NFS then is to share ("export") the filesystem or a part of it ("file level").

If you have an existing disk with enough free space then you can re-use an existing NFS share.
Check the NFS shares from the Solaris side with
showmount -e IPaddr

I got your point. That coincides with my understanding of the difference between NFS file sharing and iSCSI. Now, I created the following "\192.168.2.106\Public\Unix" . Let's see how it goes.


What is wrong with the syntax?
Or shall I create a mount point manually?

shall I attempt to create a mount point /mnt???

Yep, you can create a top level directory /mnt or /nas and use that. Call it anything you like. Sure.

I used the following:

mkdir /mnt

it was created.
but when I typed

mount -F nfs -o vers=3 192.168.2.106:/Public/Unix /mnt

nfs mount: 192.168.2.106: /Public/Unix: Permission denied

"Permission denied" is a response from the NFS server.
On your NAS you must allow the Solaris client: for the NFS share add its IPaddr!


I have installed NFS server for windows.
Server IP address is 100.1.1.60
Unix box IP address is 100.1.1.122
The last two mounts in this photo are two trial mounts one for mount point /mnt and one for mount point /backup.

Is this ok now?
Shall I proceed with trial writes from Unix to my windows?


I'm not sure about this so I thought of uploading it here as well to check the status.

Very good.
Now on the good box produce a flash archive on it...
I have never done that, so I recommend to study
man flarcreate
https://docs.oracle.com/cd/E19683-01/816-0211/6m6nc66qi/index.html

I have tested file sharing in both Unix and windows. its working.
I'm studying the link you shared. But still would need help at this stage since it's very critical

I've already detailed the steps:

showmount/mount/test write+read/flarcreate

I want to start with flarcreate now. But need to know the options and parameters I should include in the command to do it properly

I tested read/write with CDE already

flarcreate -n Backup -a Faris -c -S -R /

is this correct? or I need more options/operands?

I would be doing:

# flarcreate -n Backup -a Faris -c -x /mnt /mnt/Backup.flar

I'm basing this on...
Name of flash = Backup (just for future identification)
Author = Faris (just for future identification)
Compress the archive to save space
Exclude the directory /mnt (we don't want that backed up 'cause it's remote)
Path where the flash is to be written

https://docs.oracle.com/cd/E19683-01/816-0211/6m6nc66qi/index.html

https://docs.oracle.com/cd/E19253-01/817-5668/flashcreate1-ex-517/index.html

Read these to do your research

EDIT: Note correction I've made above to path, should be Backup.flar

1 Like

you mean:

flarcreate -n Backup -a Faris -c -x /mnt Backup.flar

???