Install XenServer 7 on USB
-
It might be that with a different USB in the system (are there multiple USB ports available that are available inside of this server?) it's assigning it the letter "D:" or something like that.
-
@DustinB3403 said in Install XenServer 7 on USB:
20 dollars a piece.
http://m.staples.com/PNY-64GB-Turbo-USB-30-Flash-Drive/product_338640
Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.
-
@travisdh1 said i
Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.
I'm a little OCD so I've been buying the little teeny ones that go flush on the server.
But your link looks like a great option.
-
@BRRABill said in Install XenServer 7 on USB:
@travisdh1 said i
Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.
I'm a little OCD so I've been buying the little teeny ones that go flush on the server.
But your link looks like a great option.
They're great for the internal USB port, which most servers have. I don't have any 1U servers, they might not fit something that short.
-
would you adam and eve it!!!!!
re-created the install USB stick. Used disk part on the 64GB and "cleaned" it. Re-installed and it boots first time
-
@scottalanmiller said
Everything that writes anything more than a config file should be off of the USB. Swap on USB would be insanely slow AND kill it quickly. Basically you should never allow swapping AND logging should be external.
Question 1:
Even though I set up logging to be external, it still seems to write data to the boot device. (Not sure if this still happens in XS7. Just set it up tonight.)
Is there an amount of writing that would be OK? Like a few KB a day? Or would we prefer to see NO log writing?Question 2:
How does one go about disabling swapping on XS? -
@BRRABill said in Install XenServer 7 on USB:
Question 1:
Even though I set up logging to be external, it still seems to write data to the boot device. (Not sure if this still happens in XS7. Just set it up tonight.)
Is there an amount of writing that would be OK? Like a few KB a day? Or would we prefer to see NO log writing?Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?
-
@BRRABill said in Install XenServer 7 on USB:
Question 2:
How does one go about disabling swapping on XS?remove the swap entry from /etc/fstab
-
@scottalanmiller said
Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?
For some reason XS keeps writing to the boot disk even after you move the logging. There is a workaround, but it never worked for me without changing permissions.
-
@BRRABill said in Install XenServer 7 on USB:
@scottalanmiller said
Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?
For some reason XS keeps writing to the boot disk even after you move the logging. There is a workaround, but it never worked for me without changing permissions.
What is it writing?
-
-
@BRRABill said in Install XenServer 7 on USB:
@scottalanmiller said
What is it writing?
Log files.
but which ones, from what source?
-
@scottalanmiller said
but which ones, from what source?
This is the article that describes the logging, and how to stop the logging that happens even after you choose to use remote logging.
This is what I could not get to work, as other people also seem to have had an issue with per the comments.
-
That doesn't seem to highlight where it is failing, though.
-
@scottalanmiller said
That doesn't seem to highlight where it is failing, though.
The issue I was having (and the commenter was also having) is that after I made those changes, the files would just overwrite themselves again.
The only way to fix it was to follow the "dirty, dirty trick" he recommends by changing the permissions to read only on those files.
That finally did it for me.
I keep bringing up this issue because as a community we always tell people to install XS and install it on USB. But XS does writing to the boot partition sometimes even when you think it is not.
Has anyone actually LOOKED at their USB boot device. Are you SURE it isn't being written to? Because mine definitely was, and I think that is the standard.
I think it was @DustinB3403 who said to just remap the log directory elsewhere. I guess that would work as well?
And I know you two were discussing the swap partition. Did we ever decide if it really WAS writing to it?
Is there a way to know how much data is being written to a particular partition?
-
it is absolutely standard that it writes to the install location, it has to be modified as any install like this has to be. But you have to modify that behaviour.