05-24-2013
ZFS LDOM problem on Solaris 10
Apologies if this is the wrong forum..
I have some LDOMs running on a Sparc server. I copied the disk0 file from one chassis over to another, stopped the ldom on the source system and started it on the 2nd one. All fine. Shut it down and flipped back. We then did a fair bit of work on the source system and I wanted to copy the file over again and this time make the copy final and destroy the domain on the source chassis.
The method I had used was to take a snapshtop on systemA.
cd into the .zfs/snapshot area and then scp the file to the destination machine and overwrite the file that was there from that initial copy of the ldom. It all seemed to work, but the destination machine didn't have any of the changes that had been made?
I started all over and this time did a sum of the source and destination files after the scp phase. They were the same. Again when the destination machine was brought up, it didn't have any of the changes.
This time, I edited some files on the destination chassis but then copied it all across again. On the source side, the snapshot name was changed. Again the checksums were compared, but this time, when the destination machine came up, although it didn't have all the changes from source, it did have the few changes I had made on the destination side. So it looks very much like somehow, the ldom is keping hold of the disk (file) . Is this possible? I don't get any errors when I rm the disk0, or overwrite it or anything? Do I need to destroy the whole LDOM to release the file that is the disk?
Any help appreciated and I hope my post makes sense.
8 More Discussions You Might Find Interesting
1. Solaris
Is it possible to use zvol from SAN LUN to install LDOM OS ? I 'm using following VDS from my service domain
VDS
NAME LDOM VOLUME DEVICE
primary-vds0 primary iso sol-10-u6-ga1-sparc-dvd.iso
cdrom ... (16 Replies)
Discussion started by: fugitive
16 Replies
2. Solaris
Hi,
I have issues installing Solaris into a LDom using a Solaris10u5/08 DVD. I have been troubleshooting for the past 2 days and I still cannot get it up.
Here is the logs:
root@eld-app2# ldm add-vdsdev /cdrom/sol_10_508_sparc/s0 cdrom0@primary-vds0
root@eld-app2# ldm add-vdisk cdrom0... (4 Replies)
Discussion started by: bolasutra
4 Replies
3. Solaris
Hello,
I am trying to install Solaris 10 on a newly created LDom. Here are the commands I ran to create the LDom:
ldm add-domain ldg2
ldm add-vcpu 8 ldg2
ldm add-memory 2g ldg2
ldm add-vnet vnet2 primary-vsw0 ldg2
ldm add-vdsdev /dev/dsk/c0t5000CCA01535E20Cd0s0 vol2@primary-vds0
ldm... (8 Replies)
Discussion started by: bstring
8 Replies
4. Solaris
Hi People,
I have been trying to learn solaris ldoms, have created one on a T2000 and get the following error when try to install it off DVD
WARNING: /virtual-devices@100/channel-devices@200/disk@1: Communication error with Virtual Disk Server using Port 0. Retrying
If anyone could help... (8 Replies)
Discussion started by: callmebob
8 Replies
5. Solaris
Hi,
Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image.
Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch.
So, I am not sure how to achieve this because. If I remove the... (7 Replies)
Discussion started by: praveensharma21
7 Replies
6. Solaris
Generally, this is what we do:-
On primary, export 2 LUNs (add-vdsdev).
On primary, assign these disks to the ldom in question (add-vdisk).
On ldom, created mirrored zpool from these two disks.
On one server (which is older) we have:-
On primary, create mirrored zpool from the two LUNs.... (4 Replies)
Discussion started by: psychocandy
4 Replies
7. Solaris
hello to everyone. im new member here.
i have a problem with a guest ldom on solaris 11 sparc in a T8. I need to access to disk vds assigned to guest domain but from control domain.
I want to modify a parameter in inittab of the guest domain because start guest domain give me problems... (2 Replies)
Discussion started by: Liam_
2 Replies
8. Solaris
I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies
LEARN ABOUT DEBIAN
rfio_rcp
RFIO_RCP(3) Rfio Library Functions RFIO_RCP(3)
NAME
rfio_rcp - third party copy of a file
SYNOPSIS
#include <sys/types.h>
#include "rfio_api.h"
int rfio_rcp (char *source, char *destination, int timeout);
DESCRIPTION
rfio_rcp triggers a third party copy of a file.
source specifies the physical path of the source file.
destination
specifies the physical path of the file at destination.
timeout
specifies the time after which the copy is cancelled if not completed.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The source file does not exist or a component of destination prefix does not exist.
EACCES Search permission is denied on a component of the source or destination prefix or read permission is not granted on the source
file or write permission on the destination parent directory is denied.
EFAULT source or destination is a NULL pointer.
ENOSPC No space to store the new file copy.
ENAMETOOLONG The length of source or destination exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SETIMEDOUT Has timed out.
SECOMERR Communication error.
SEE ALSO
Castor_limits(4)
LCG
$Date: 2010-09-07 09:21:01 +0200 (Tue, 07 Sep 2010) $ RFIO_RCP(3)