Fog Unable to upload multiple disk
-
I’ve looked through all your dumps, samples and posts several times but it still does not ring a bell for me. From what I can see in those files it’s all just perfectly normal and should not report any errors (hopefully I haven’t missed anything!). Two more things you might try out. First is this script I found on the net: [url]https://raw.githubusercontent.com/arvidjaar/scriptlets/master/walkparts.sh[/url]
Download it to the FOG server and put it in ‘/images/dev’. The only thing I had to change to make it work within FOG is change ‘/bin/sh’ to ‘/bin/bash’ in the first line of the script! Then start a debug upload([S]download)[/S] session and run:
[CODE]fog
…Hit Enter till you see ‘Mounting File System . . .’ then Ctrl+C
…
/images/walkparts.sh /dev/sdb
…[/CODE]What do you get from that script?? An while you have that session running you could give ‘testdisk’ a go too. Would be interesting to see if ‘testdisk’ is complaining about the missing msdos signature too?!?!!
[B]EDIT: It was quite late when I wrote this and I got carried away! Do the first two tests on your master-client in a debug-upload-session but please do not continue with the third one on that same client!! Start one or more of your other client(s) in a normal/debug multicast/download session for the following test…[/B]
One more thing you can try out while you’ve got that debug download session running. As kind of a workaround you could try faking the partition table. You probably have a complete uploaded image (d1p1.img, d2p1.img, d2p2.img d2p5.img) on your FOG server ready. Possibly the only problem keeping you from deploying those image files proberly is the incorrect ‘d2.partitions’ file. Edit ‘/images/lenovothinkcentrev2/d2.partitions’:
[CODE]# partition table of /dev/sdb
unit: sectors/dev/sdb1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sdb2 : start= 206848, size=232593408, Id= 7
/dev/sdb3 : start=232814043, size= 1622501, Id= f
/dev/sdb4 : start= 0, size= 0, Id= 0
/dev/sdb5 : start=232814106, size= 1622438, Id= 7[/CODE]
Then try downloading the image to your client. Does that work?? -
Too bad that I just can’t reproduce the issue on my test system (QEMU) although I use two (virtual) disks and exactly your partition tables…
As you experience no problems uploading and downloading when there is only one disk installed I started wondering about it being a problem in util-linux itself. But I can’t find any pointer to that on the net. Any ideas on how we can narrow this down?Although it might not be very wise to do for the operating systems you have on your disks, would you mind trying to swap the disks (sda <-> sdb) just for one upload/download test. Only if you got some spare time… Please try walkparts, testdisk and the fake d2.partitions first!
-
I haven’t had a chance to run the walkparts or other commands, but changing the order of the disks seems to have resolved the issue completely. We plugged the primary boot disk into the first slot (to be sda) and secondary disk in second slot (sdb) and it uploads and deploys without issue.
-
Thanks for the update. That’s really weird and I still can’t get my head around what’s going on there. As I said, I’ve tried to reproduce the issue but I just can’t do it. Very special. Would be great if you keep us posted on new findings.