Sponsored Content
Operating Systems Solaris Migrate /export/home from storage path to local Post 302988137 by gull04 on Wednesday 21st of December 2016 03:21:55 AM
Old 12-21-2016
Hi Deeo,

Gotta say that I agree with Robin, however what would look like the way to go would simply to pesent some disk and mount it up on a suitable directory say /mnt/xfer and do the following.

Code:
cd /export/home
tar cf - * | (cd /mnt/xfer; tar xfp -)
cd /
umount /export/home
umount /mnt/xfer

You would now have to ensure that the /etc/vfstab file is correct and either mount the device manually or reboot the domain (I'm betting the manual mount would be preferred here).

To manually mount the disk/slice you just use the standard Solaris command, but to make it persistent you have to edit the vfstab file.

Regards

Gull04
This User Gave Thanks to gull04 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problems with /export/home

I'm having a problem with my /export/home directory. A few of my users are getting superblock problems when they try to save files. what's something I can do to fix the problem? I'm running Solaris 7 on an Intel so no Open Boot Prom... any help would be great. thanks.. ,AP (2 Replies)
Discussion started by: Anthony
2 Replies

2. UNIX for Dummies Questions & Answers

Home Network Storage Solution.

Hi All... I have never really touched any form of unix so any help would be appraciated. I am looking at creating/building another PC to add to my network for storage purposes only. Would unix be the best OS to use in this situation as all I have available to me is a very low end PC. As... (10 Replies)
Discussion started by: Merlyn
10 Replies

3. Solaris

automountd [24] : Mount of /export/home problem

Hi Guys, Thanks for taking the time to read the problem i having outlined below: Before i go into the problem can you please tell me what the following means? a. "dt" stands for and what does it means? Configuration Below: 1x Unix Server 2x Unix Terminals (both systems are... (3 Replies)
Discussion started by: tlee
3 Replies

4. Filesystems, Disks and Memory

Local NFS import / re-export using automount?

Hi, Can I do the following: On SunOS 5.8 /etc/vfstab: remote-host:/Volumes/webdata - /export/home/webdata nfs - yes rw,vers=3,soft,intr,bg,timeo=600 In /etc/auto_direct: /home/science $HOST:/export/home/webdata/science /home/science-edu ... (2 Replies)
Discussion started by: bloyall
2 Replies

5. UNIX for Dummies Questions & Answers

/export/home question

please could someone explain what is /export/home used for ? (1 Reply)
Discussion started by: venhart
1 Replies

6. Solaris

A query regarding /export/home in Solaris

Friends, I am new to Solaris, but familiar with Linux. Could you throw some light on the need for /export/home directory in Solaris. In Linux, the default home directory for a normal user is /home/<username>. If domain concept is implemented, then the /home directory of server will be mounted... (4 Replies)
Discussion started by: saagar
4 Replies

7. Solaris

Quotas on /export/home

Hello all, I am trying to set quotas on /export/home filesystem for some of our users on a Solaris Zone I know that you would be redirecting me to some of the documentation pages, but I have already done that. The /export/home on the Zone is a Veritas FS and I cannot see an entry for... (4 Replies)
Discussion started by: grajp002
4 Replies

8. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

9. Red Hat

Understanding local access to NFS export

Hello, I've inherited an NFS setup that allows external servers to write to an NFS share on a Centos box. Here is an example line from /etc/exports (there are four entries that only are different based on server IP adress). /exports/foobar... (4 Replies)
Discussion started by: KickstartUF
4 Replies

10. Solaris

How to differ local disks from attached from storage ones?

Hello. I have a solaris box with several local disks and several come from SYMMETRIX storage. Is there any way to tell format (or other util) to show only local disks? (6 Replies)
Discussion started by: urello
6 Replies
MQUEUEFS(5)						      BSD File Formats Manual						       MQUEUEFS(5)

NAME
mqueuefs -- POSIX message queue file system SYNOPSIS
To link into kernel: options P1003_1B_MQUEUE To load as a kernel loadable module: kldload mqueuefs DESCRIPTION
The mqueuefs module will permit the FreeBSD kernel to support POSIX message queue. The module contains system calls to manipulate POSIX mes- sage queues. It also contains a file system to implement a view for all message queues of the system. This helps users to keep track of their message queues and make it more easily usable without having to invent additional tools. The most common usage is as follows: mount -t mqueuefs null /mnt/mqueue where /mnt/mqueue is a mount point. It is possible to define an entry in /etc/fstab that looks similar to: null /mnt/mqueue mqueuefs rw 0 0 This will mount mqueuefs at the /mnt/mqueue mount point during system boot. Using /mnt/mqueue as a permanent mount point is not advised as its intention has always been to be a temporary mount point. See hier(7) for more information on FreeBSD directory layout. Some common tools can be used on the file system, e.g.: cat(1), chmod(1), chown(8), ls(1), rm(1), etc. To use only the message queue system calls, it is not necessary for user to mount the file system, just load the module or compile it into the kernel. Manually creating a file, for example, ``touch /mnt/mqueue/myqueue'', will create a message queue named myqueue in the kernel, default message queue attributes will be applied to the queue. It is not advised to use this method to create a queue; it is better to use the mq_open(2) system call to create a queue as it allows the user to specify different attributes. To see the queue's attributes, just read the file: cat /mnt/mqueue/myqueue SEE ALSO
mq_open(2), nmount(2), unmount(2), mount(8), umount(8) AUTHORS
This manual page was written by David Xu <davidxu@FreeBSD.org>. BSD
November 30, 2005 BSD
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy