05-24-2013
3,
0
Join Date: May 2013
Last Activity: 28 May 2013, 1:39 PM EDT
Posts: 3
Thanks Given: 0
Thanked 0 Times in 0 Posts
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.