Mounting UFS on Solaris 10 to Solaris 11


 
Thread Tools Search this Thread
Operating Systems Solaris Mounting UFS on Solaris 10 to Solaris 11
# 1  
Old 09-26-2018
Mounting UFS on Solaris 10 to Solaris 11

I have a Solaris 10 LDOM installed with UFS and another Solaris 11 LDOM with ZFS. I want to mount a folder on Solaris 10 to Solaris 11. I used the following:
sudo mount -F ufs 10.1.1.44:/export/home/amandeep/workspace /home/amandeep/workspace/mounts/ldom5

and it errors out with:
mount: 10.1.1.44:/export/home/amandeep/workspace or /home/amandeep/workspace/mounts/ldom5, no such file or directory

What am I missing?
# 2  
Old 09-26-2018
Because 10.1.1.44:/export/home/amandeep/workspace is a NFS location.
You must mount this with "-F nfs" (without this option "mount" will automatically see it is NFS).
This User Gave Thanks to MadeInGermany For This Post:
# 3  
Old 09-26-2018
Hello @MadeInGermay,
How would one know that this is a NFS location. I am very new to solaris and still learning. Following is the output of mount command on 10.1.1.44:
Code:
bash-3.2$ /usr/sbin/mount -v
/dev/dsk/c0d1s0 on / type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=2080008 on Tue Sep 25 17:29:06 2018
/devices on /devices type devfs read/write/setuid/devices/rstchown/dev=5bc0000 on Tue Sep 25 17:29:05 2018
ctfs on /system/contract type ctfs read/write/setuid/devices/rstchown/dev=5c00001 on Tue Sep 25 17:29:05 2018
proc on /proc type proc read/write/setuid/devices/rstchown/dev=5c40000 on Tue Sep 25 17:29:05 2018
mnttab on /etc/mnttab type mntfs read/write/setuid/devices/rstchown/dev=5c80001 on Tue Sep 25 17:29:05 2018
swap on /etc/svc/volatile type tmpfs read/write/setuid/devices/rstchown/xattr/dev=5cc0001 on Tue Sep 25 17:29:05 2018
objfs on /system/object type objfs read/write/setuid/devices/rstchown/dev=5d00001 on Tue Sep 25 17:29:05 2018
sharefs on /etc/dfs/sharetab type sharefs read/write/setuid/devices/rstchown/dev=5d40001 on Tue Sep 25 17:29:05 2018
/dev/dsk/c0d1s6 on /usr type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=208000e on Tue Sep 25 17:29:07 2018
/platform/sun4v/lib/libc_psr/libc_psr_hwcap3.so.1 on /platform/sun4v/lib/libc_psr.so.1 type lofs read/write/setuid/devices/rstchown/dev=2080008 on Tue Sep 25 17:29:06 2018
/platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap3.so.1 on /platform/sun4v/lib/sparcv9/libc_psr.so.1 type lofs read/write/setuid/devices/rstchown/dev=2080008 on Tue Sep 25 17:29:06 2018
fd on /dev/fd type fd read/write/setuid/devices/rstchown/dev=5ec0001 on Tue Sep 25 17:29:07 2018
/dev/dsk/c0d1s3 on /var type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=208000b on Tue Sep 25 17:29:10 2018
swap on /tmp type tmpfs read/write/setuid/devices/rstchown/xattr/dev=5cc0002 on Tue Sep 25 17:29:10 2018
swap on /var/run type tmpfs read/write/setuid/devices/rstchown/xattr/dev=5cc0003 on Tue Sep 25 17:29:10 2018
/dev/dsk/c0d1s5 on /opt type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=208000d on Tue Sep 25 17:29:41 2018
/dev/dsk/c0d1s1 on /usr/openwin type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=2080009 on Tue Sep 25 17:29:42 2018
/dev/dsk/c0d1s7 on /export/home type ufs read/write/setuid/devices/rstchown/intr/largefiles/logging/xattr/onerror=panic/dev=208000f on Tue Sep 25 17:29:42 2018

Regards,
Aman

Last edited by vbe; 09-26-2018 at 04:16 AM..
# 4  
Old 09-26-2018
The server:/pathname is a remote filesystem, by default NFS.
A /dev/pathname is a local filesystem, by default UFS (in Solaris <= 10, not sure with Solaris 11).
# 5  
Old 09-26-2018
Quote:
I want to mount a folder on Solaris 10 to Solaris 11. I used the following:
sudo mount -F ufs 10.1.1.44:/export/home/amandeep/workspace /home/amandeep/workspace/mounts/ldom5
Quote:
How would one know that this is a NFS location.
Well Because of your request above : Solaris 10 to Solaris 11 means from a system to another, and that, can only be achieve across network thus NFS ( Network FileSystem) then in your same request and statement you give the IP of the system (NFS server) exporting: 10.1.1.44 .
So now did you try mount without options?
It should work ( but cannot be sure beeing at home without boxes to try... used with HP-UX and some AIX, not quite sure about Solaris)
the advantages of arguments are to give more mount options like some NFS options letting you able to dismount when server is not responding etc... I dont see any reason to give UFS only to create errors since its not...
That said and MadeInGermany gave you a syntax to try, if your mount directory on the client side is absent you will get error too...( not mentioning the same server side...) and since its network you should check you can reach the NFS server by using ping or anything else to see if it responds
# 6  
Old 09-26-2018
Yes, I was able to mount it as NFS. But was curious about if we could use UFS. Thanks for the help.
# 7  
Old 09-26-2018
On the NFS server the exported(=shared) file system is mounted locally, from /dev/pathname or from ZFS that is rpool/pathname (the ZFS developers decided to not implement its access via a /dev/pathname device driver; instead ZFS has its own kernel API and its own commands).
BTW besides NFS there is another remote file system RFS - but Solaris and all other Unixes prefer NFS. BSD Unix and Linux have NFS only.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Deep checking Solaris ufs filesystem

I'm prompted to start this thread following my attempt to help on this thread here (see my posts). I was proposing the OP deep checked a Solaris ufs filesystem using: # fsck -o full <filesystem node> however this option does not appear to be valid on Solaris 10. I've used... (8 Replies)
Discussion started by: hicksd8
8 Replies

2. Solaris

Convert root UFS to ZFS on x86 solaris 10/09

Hello All, Good Morning, We are trying to convert the UFS root in to ZFS. Am getting below error. Any one help me out on this ? bash-3.00# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT guru 5.95G 483M 5.48G 7% ONLINE - bash-3.00# zpool create rpool c2t10d0p0... (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

3. Solaris

ufs slices info in solaris

how do you get start and end sector of a UFS slice? (2 Replies)
Discussion started by: orange47
2 Replies

4. Solaris

Installing ZFS on an existing Solaris 10 install (UFS)

Hello, I am new to Solaris so i apologize upfront if my questions seem trivial. I am trying to install a ZFS file system on a Solaris 10 machine with UFS already installed on it. I want to run: # zpool create pool_zfs c0t0d0 then: # zfs create pool_zfs/fs My question is more to... (3 Replies)
Discussion started by: mcdef
3 Replies

5. Solaris

UFS on solaris 10, compatible with solaris 8?

we have a server runnning solaris 10 (sparc) this server is attached the a SAN (HP EVA) we created 23 LUN's and filled them with data. the we unmounted them and tried to attach the LUN's to a solaris 8 system. this is where thing get strange... when we just mount the LUN's it works... (9 Replies)
Discussion started by: robsonde
9 Replies

6. BSD

FreeBSD compatibility with Solaris UFS filesystem?

Hi, I'm new to BSD and would like to create a dual-boot between Solaris Express Community Edition and FreeBSD. I would just like to know if the Solaris UFS file system can be written to by BSD? I know that BSD uses UFS2, but I'm hoping that it is backwards compatible with UFS1 provided that... (0 Replies)
Discussion started by: Johnny SSH
0 Replies

7. Solaris

Want to expand Solaris 10_x86 root UFS partition

OS: Solaris 10_x86. Problem: Server needs to be patched, but root "/" is near full. /dev/dsk/c1t1d0s0 4.2G 3.9G 284M 94% / The /exports/home dir has a lot more space, and I'd like to either move root "/" to it, or delete it all together: /dev/dsk/c1t1d0s7 12G ... (20 Replies)
Discussion started by: b1f30
20 Replies

8. UNIX for Dummies Questions & Answers

increasing ufs file system size in solaris

How do i increase the filesystem size on a root partition? There is a slice with root on it, its like 2 gigs and nothing else is broken out except home. I want to increase root filesystem (and slice) and break out /usr and /var. This is solaris 9, only has solaris volume manager on it. ... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

9. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies
Login or Register to Ask a Question