SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-08-2014, 01:49 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Question ESXi won't save config after reboot

I've been dealing with this problem for over a year now and every so often I feel the urge to try and figure it out again. Maybe someone around these parts will have an idea how to fix it.

I boot (free) ESXi 5.0 from a USB flash drive. When I do a fresh install of ESXi (as opposed to an upgrade) and the hypervisor comes up the first time, I can make all kinds of changes, reboot, and things are as expected. However, any further changes made to ESXi itself will be lost on subsequent reboots. For example, if I add a new VM, it will need to be added back to inventory every time I reboot. ESXi stays in the same state it was in immediately after that first reboot. Guest OS's run and store their settings normally. It's everything outside the guest OS which is lost upon reboot.

I'm a Linux novice and its command line usage is pretty foreign to me, but, based on something I found elsewhere about the flash drive possibly being read only, I opened the shell via the console and ran /sbin/backup.sh 0 /bootbank/ and saw that state.tgz appears to get updated (the date changes for the file). From what I've read, that would appear to indicate that the flash drive is not read only.

This happens with multiple flash drives and all versions of ESXi I've tried: 5.0, 5.0U1, 5.0U2, 5.1, and 5.5.

Anyone have some ideas?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #2  
Old 08-09-2014, 07:10 AM
nycjoe's Avatar
nycjoe nycjoe is offline
Sage Advanced User
 
Join Date: Jun 2008
Location: New York
Posts: 106
I think flash drives drivers don't actually commit changes unless explicitly told to do so, in order to prolong their short lives. Try issuing the 'sync' command after making your changes (that should work on Linux - I'm not sure about esxi). It's basically the equivalent of 'now safe to remove your hardware' on windows.
__________________
{"HW": "NUC",
"CPU": "i7-5557U",
"RAM": "16GB",
"Recordings": "2TB SATA",
"Imports": "2x 4TB USB",
"Clients": ["HD300", "HD200", "SageTVClient"]}
Reply With Quote
  #3  
Old 08-09-2014, 11:21 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I suppose that's worth a shot, but you would think that something like ESXi would be set up to issue a command like that after a change is made or, at the very least, when the system is shutting down or rebooting. I know companies run ESXi off flash drives and I have to imagine that this is not happening to them.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #4  
Old 08-17-2014, 06:43 AM
nycjoe's Avatar
nycjoe nycjoe is offline
Sage Advanced User
 
Join Date: Jun 2008
Location: New York
Posts: 106
You can also add the sync option to the file system mount file (basically add a ",sync" to the options column in /etc/fstab), and all updates would be immediately synced, but I think you'd be surprised how short the life of a flash drive can be.

Regarding your enterprise comment - vmware actually keeps functionality on the actual esxi host to a bare minimum in order to influence users to go with a paid product. Other than setting up connectivity, nothing else is configured on the esxi host - everything else is done in vcenter.
__________________
{"HW": "NUC",
"CPU": "i7-5557U",
"RAM": "16GB",
"Recordings": "2TB SATA",
"Imports": "2x 4TB USB",
"Clients": ["HD300", "HD200", "SageTVClient"]}
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Conversions on Sage Server now trigger ESXi reboot WellThen Hardware Support 6 11-02-2013 12:47 PM
ESXI help Hunter69 Hardware Support 28 01-02-2013 10:30 AM
"Save Downloaded File" save location robind SageTV Software 1 05-31-2011 06:21 AM
Esxi 4.1 and this MB? cenwesi Hardware Support 3 11-23-2010 11:07 PM
Is there a utility that allows me to save my SageTV config? sdsean SageTV Customizations 1 11-07-2009 10:13 PM


All times are GMT -6. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.