Sponsored Content
Operating Systems Solaris Delay mounting of home directory? Post 303011298 by kebabbert on Tuesday 16th of January 2018 09:42:14 AM
Old 01-16-2018
Delay mounting of home directory?

I wonder if it is possible to delay mounting of a home directory?

Here is the background to the problem I am trying to solve:
I have two zfs disks, one rpool disk, and one zfs data disk. On the zfs data disk, I have data directories. In Solaris 11.3 there are default home directories on rpool, called Documents, Public, Downloads, etc. So I have deleted these home directories from rpool, and replaced them with symlinks. These symlinks points to the zfs data disk. So on the zfs data disk there are directories called Documents, Public, Downloads, etc. In my home directory, there are symlinks to these zfs data directories.

I also have a Linux Ubuntu partition. I have done the same thing on the Ubuntu partition. My home directory on the Ubuntu partition contains symlinks, pointing to the zfs data disk.

This means Ubuntu and Solaris shares the same data directories on the zfs data disk. I do not want to share the same home directory between Solaris and Linux, so I have not put the home directory on the zfs data disk. Because the configuration files differs from Solaris and Linux. Linux might use KDE, and Solaris might use Gnome. That will be a problem when I login if I share the same home directory between OSes. So Solaris and Linux home directories are not shared, but the data is shared via symlinks in Solaris and in Linux home directory. This way, I can work with the same data no matter which OS I boot from. I also have a VirtualBox VM data directory which I access from both Solaris and from Linux, so I can work with the same VM from both OSes, without the need to synching data.

Here is the problem. When I bootup Linux, I need to import the zfs data disk. Then I bootup Solaris instead, which makes Solaris complain because Solaris are trying to mount the home directory data folders, which points to the zfs data disk - which is mounted in Linux instead!

When I boot different OSes, I need to import the zfs disk. But then the other OS will complain because it can not mount the home directory. Is there a way to delay mounting of home directories? Then I can bootup an OS and import the zfs data disk, and after that I can manually mount the home directory.

EDIT: Adding "_netdev" in vfstab is the wrong track?
delayed file system mount? (zfs, zvol, ext4) - Ars Technica OpenForum

Last edited by kebabbert; 01-16-2018 at 10:58 AM..
 

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

mounting a directory to a windows 2000 shared folder

until recently I've been using the following command successfully: mount -t smbfs -o username=my_user_name,password=password /home/temp/ //oldserver/openexchange To connect to a Win2000 shared folder called openexchange on a machine called //oldserver. But as from today, I've been getting... (2 Replies)
Discussion started by: cw1972
2 Replies

2. SCO

/data directory not mounting

Dear sir, In my SCO unix system while running an isql because of the size of the files created the ./data directory become full and now I cannot boot the system in normal mode. I am botting the machine in single user mode but i cannot delete the files from /data directory cos it is not... (2 Replies)
Discussion started by: khelen
2 Replies

3. UNIX for Dummies Questions & Answers

home directory

Hi what is the difference between the directory named /home and the user's home directory? can anyone plz reply? really confuse about it!!!!!!!! thank you (1 Reply)
Discussion started by: nokia3100
1 Replies

4. Slackware

mounting new directory

hi I installed slackware. How can I mount new partition I edit etc/fstab and add new mount point("back") What should I do next? When I perfom: mount /back it doesnt work. (16 Replies)
Discussion started by: tjay83
16 Replies

5. SuSE

home directory is not mounting

Our home directory is not mounting in SUSE 10, can you please help me in this regard. Thanks (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

6. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

7. UNIX for Advanced & Expert Users

Mounting a directory using nfs version4

Hi, I would like to know how can we mount a directory using nfs v4 ? When I use the below command, I am not sure what nfs version am using to mount the directory. mount -t <server_name>:<shared_directory> <shared_directory>. eg: mount -t 10.50.0.8:/home/arun/mount/share_dir... (7 Replies)
Discussion started by: arunsriniv
7 Replies

8. AIX

Mounting a directory in a filesystem

Hi All, Recently I came to know my / root file system is getting full because of application directory /siebel/ I have one option. 1) Down the application , take full backup 2)change the filesystem ownership 2)copy the contents into that filesystem cp -pr /siebel/* /siebelfs/* 3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies

9. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
AMANDA-APPLICATIONS(7)						    Miscellanea 					    AMANDA-APPLICATIONS(7)

NAME
amanda-applications - Application-api for amanda DESCRIPTION
Describe how to use application with Amanda APPLICATIONS
This section lists the applications included with Amanda. See the individual man pages for instructions on using them. For complete How-To information, consult the Amanda wiki at http://wiki.zmanda.com. o amgtar(8), - use GNU Tar to backup and restore data. o ampgsql(8), - use PostgreSQL's continuous WAL archiving. o amraw(8), - use open and read to read the data. o amsamba(8), - use smbclient to backup and restore data. o amstar(8), - use star to backup and restore data. o amsuntar(8), - use native tar on Solaris to backup and restore data. o amzfs-sendrecv(8), - use zfs to create a snapshot and use 'zfs send' to generate the backup. o amzfs-snapshot(8), - use zfs to create a snapshot and for use with other applications (e.g. amgtar) DEFINING APPLICATIONS
An application is defined in amanda.conf(5) as follows: define application-tool $appconfigname { plugin "$pluginname" property "$PROPERTY_NAME" "$PROPERTY_VALUE" ... } and then referenced in a dumptype as define dumptype $dumptypename { ... program "APPLICATION" application "$appconfigname" } Application properties, like Amanda configuration parameters, are insensitive to case, and - (dash) and _ (underscore) may be used interchangeably. See the individual plugin documentation for properties applicable to each plugin. SEE ALSO
amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.3 01/10/2013 AMANDA-APPLICATIONS(7)
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy