Migrate /export/home from storage path to local


 
Thread Tools Search this Thread
Operating Systems Solaris Migrate /export/home from storage path to local
# 1  
Old 12-20-2016
Migrate /export/home from storage path to local

I am newbies in solaris, hope u guys can help me,

I need to transfer /export/home directory that currently mount at storage and migrate into local disk. may i know the best way to do it?

Thanks
# 2  
Old 12-20-2016
Hi Deeo,

Can you tell us what the OS is for /export/home what is the destination machine type.

There are a number of options here and having the requested information would help.

Regards

Gull04
# 3  
Old 12-20-2016
OS is solaris 10 and machine type m9000 domain. The destination is the same server as current path just i need to transfer the path from from storge lun into local disk
# 4  
Old 12-20-2016
Do you have a volume manager in play here? If so, then you might be best to use local disk to extend the volume group and then ask the volume manager to migrate the logical volume across. This should be possible with the system active, although there will be an IO overhead.

What would concern me is the target hardware and why you would want to leave the protection that a SAN gives you. Are you looking to move the data to local and then off to a new SAN, or have you now got a local disk array that you are looking to exploit? The worry is that if it is truly local disk, then the OS is responsible for every disk write and will make the thread/process wait until it is completed to the real spinning media. It might sound counter intuitive, but local disk can therefore be significantly slower that properly configured RAID or SAN disk. SAN (or a good local RAID device) will have a serious chunk of cache so it can accept the write request and signal that it is complete much faster. The SAN will then complete the action to the spinning media in its own time, leaving the OS to continue with further processing.


Can you tell us the end goal here?


Robin
# 5  
Old 12-20-2016
We don't have volume manager in place currently just using standard ufs fstyp since this is UAT server, vol manager like infoscale require licensed and its expensive.

Our end goal is we want to replace the storage that currently attached to /export/home directory. So im planning to move 1st /export/home dir to local disk then plugoff the current storage and provision a new storage. Then later on /export/home directory will remain in local disk or transfer back the new storage will depend on my management.
# 6  
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:
# 7  
Old 12-21-2016
Do i need to boot into init 1 or single user mode for this operation?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question