I'm working with an Intel Xeon Phi 7120 Coprocessor. As i have made some configurationand want to preserve the current file system i would like to capture its image in order to get a permanent storage.
As i executed the command "ssh root@mic1 'cd / ; find . /dev -xdev ! -path "./etc/modprobe.d*" ! -path "./var/volatile/run*" | cpio -o -H newc | gzip -9' > /usr/share/mpss/boot/custom.cpio.gz" to capture the current file system of a certain mic (mic1) to host file but nothing happens, so i don't know what i am doing wrong.
If someone could help, i would appreciate.
I wouldn't expect that to work, you're treating the Phi as if it is on the same filesystem as the host. Try saving to a file on the Phi then moving it with SCP or FTP.
Other considerations are: network access from Phi to Host, possible command errors (I can't comment on this since the line supplied looks like gobbledegook to a Windows user. :) )
Thank you for your reply.
I executed as it is on the MPSS users guide from Intel. After:
ssh root@mic1 'cd / ; find . /dev -xdev ! -path "./etc/modprobe.d*" ! -path "./var/volatile/run*" | cpio -o -H newc | gzip -9' > /usr/share/mpss/boot/custom.cpio.gz
i got: 4327714 blocks. I wonder if it means that the file system was captured (as i suppose) and then executed:
micctrl --rootdev=StaticRamFS --target=/usr/share/mpss/boot/custom.cpio.gz
but this time i got an error: [Error] Cannot specify a target location if not specifying a single card
So what i am not doing is specify the phi card where i want to copy the preserved file system? If so, how can i do it?
B.1 Micctrl command line format The micctrl command line format is: micctrl GlobalOptions Command SubOptions Coprocessors
So you need to add micN at the end. I believe the example in 7.2.2 assumes a single coprocessor in the system.
BTW it makes more sense when I read that the first line you quoted above is executed from the host. :)
Thanks for the tips. I think it has worked...i got:
micctrl --rootdev=StaticRamFS --target=/usr/share/mpss/boot/custom.cpio.gz micN
[root@orion2 ~]# exit
Is it suppose to get this message?
When I wrote micN that wasn't meant to be taken literally. It means mic0 or mic1 or whichever one you want to send the files to.
I'm not sure what the output should look like, I've never done that.