Moving a zone path to a new file system


 
Thread Tools Search this Thread
Operating Systems Solaris Moving a zone path to a new file system
# 1  
Old 01-19-2013
Moving a zone path to a new file system

Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.

Below is what I did and the message I get. Your help will be appreciated.

Thanks

Code:
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset already exists
Moving across file-systems; copying zonepath /rpool/zones/testzone...sh: /rpool/zones/testzone: does not exist
zoneadm: zone 'testzone': 'copy' failed with exit code 1.

The copy failed.
More information can be found in /var/log/zoneAAAZhay9R

Cleaning up zonepath /rpool/testzone...The ZFS file system for this zone has been destroyed.

the log file /var/log/zoneAAAZhay9R doesn't exist either.
# 2  
Old 01-20-2013
Please post the output from:

Code:
 
zoneadm list -cv

The zone must not be running when you move it.

The argument on the move command is the directory that you want to move the zone to.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Increase /tmp file system size dynamically in Solaris zone

Hi Please let me know how to increase the size of /tmp file system from 512m to 1024m dynamically without reboot in solaris zone # df -h Filesystem size used avail capacity Mounted on zones/zone1 11G 1.0G 10.0G 10% / /dev 11G 1.0G ... (6 Replies)
Discussion started by: sb200
6 Replies

2. Shell Programming and Scripting

Moving files from parent path to multiple child path using bash in efficient way

Hi All, Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created. /Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt /Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies

3. UNIX for Advanced & Expert Users

Need help on moving .csv file from UNIX to windows file path

Need help on moving .csv file from unix to windows file path. (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

4. Solaris

Creation of zone based on zfs root file system

Hi all I want to know if suppose my global zone has UFS root file system & now I want to create non global zone with ZFS root file system. Is it possible.....If this is possible then how will I able to create zone based on ZFS root file system in global zone having UFS based root file system (5 Replies)
Discussion started by: sb200
5 Replies

5. Web Development

store images into databases or path to file system files ?

hi, I need a quick information about storing images into mysql databases. Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

6. Solaris

df error for lofs file system in local zone.

I 've a zone which is running oracle db instance. We have exported the SAN file system from the global zone as following fs: dir: /oradb special: /oradb raw not specified type: lofs options: from global zone #df -h | grep oradb... (7 Replies)
Discussion started by: fugitive
7 Replies

7. UNIX for Advanced & Expert Users

File System Type From File Path?

I'm writing a gui for the core utility shred. I want to be able to warn the user if they are about to shred a file that is on a journaled file system. In order to do this, I must learn the file system type of the path they are about to shred. Is there a way in Unix to: 1. query a specific... (3 Replies)
Discussion started by: codecellar
3 Replies

8. Solaris

/etc/system file in solaris Zone

Hi All, I am just new to the sun Solaris zone server. In the zone server the /etc/system file is missing. Please let me know what they are using instead of system file in Zone server. Please help me in this L Regards, Kalai (1 Reply)
Discussion started by: kalpeer
1 Replies

9. Solaris

Moving a file system to a new partition

Hi everybody. My task today is to move my file system that's 98% full to a new partition slice. I think I'm pretty sure how to do it, but I just wanted to make sure, plus it's been a while since I last did one. The Let's say I have 2 disks c0t0d0 & c0t1d0 ...the file Iwant to move is in c0t0d0s5... (7 Replies)
Discussion started by: Remi
7 Replies
Login or Register to Ask a Question