ZFS LDOM problem on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris ZFS LDOM problem on Solaris 10
# 1  
Old 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.
# 2  
Old 05-26-2013
Have you tried stopping the LDOM on source machine and using zfs send / receive to destination machine ?

Regards
Peasant.
# 3  
Old 05-26-2013
Not yet. Can you send just one file of a pool? Apologies but I've not had any training yet.

It feels like the RX side because it remembered stuff that never was on the source side?

Worth a go though - thank you.
# 4  
Old 05-26-2013
You can send specified filesystem/volume. BTW I'm curious.. What is the disk performance inside your LDOM?
# 5  
Old 05-28-2013
I stopped the source LDOM and took a snapshot only then. Copied the file across and the problem described persisted. I had become convinced the issue was on the destination side, but the idea brought me closer to the idea of releasing the old file in some way.

My problem is now solved. I had to unbind the ldom and then bind again. As soon as this was done, it forgot about the old system and flipped to the updated file. I guess the VDS was keeping hold of the old disk0. I suppose it's like other bits of Solaris when something is keeping the inode.

Thanks very much for the ideas - appreciated.

The peak I/O was about 45M per 5 seconds as seen by

zpool iostat bigpool 5 720

This was normal running PLUS the scp activity at the same time.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Solaris LDOM IP conflict

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

2. Solaris

Ldom guest volumen problem t8 Solaris 11

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

3. Solaris

Exporting physical disk to ldom or ZFS volume

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

4. Solaris

Virtual Switch in Solaris LDOM

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

5. Solaris

Ldom problem

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

6. Solaris

How can I install Solaris 10 on an LDom using an iso?

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

7. Solaris

Installing Solaris into LDom using DVD

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

8. Solaris

Ldom OS on SAN based zfs volume

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