Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    40

    Default Check to see if there is adequate space for database

    Suggest you add a check to see if there is enough space on the target system to copy and restore the mysql database(s) before commencing the actual transfer.

    Had a bad experience tonight. There was inadequate space on /var and it filled up 100%. The transfer of course hung and I'm left with a mess.

    If there is inadequate space on the target, advise the user and do not proceed with the transfer. Might also be wise to issue a warning if the transfer would leave only xx% free and give the user an option to continue with the xfer or not.

    Finally, why is mysql data even in /var/lib/mysql to start with. Those partitions are never very large. Why not put it in /home/mysqldata ?

    Might even be nice to have a WHM utility to relocate the mysql datadir to a new location.

  2. #2
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    942
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Check to see if there is adequate space for database

    I like the add of warning if there is not enough space to allocate the database.
    +1 to this

Similar Threads & Tags
Similar threads

  1. [Case 12462] Customize threshold for system-wide disk space check
    By cPanelDavidG in forum Archived Feature Requests
    Replies: 7
    Last Post: 04-30-2012, 04:40 PM
  2. how to check MySQL database logs
    By crazyaboutlinux in forum Database Discussions
    Replies: 5
    Last Post: 10-22-2011, 04:21 AM
  3. Filed with Developers If hostname resolves to private IP space, ignore IP Check [Case 56083]
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 03-01-2011, 02:44 PM
  4. Replies: 2
    Last Post: 12-07-2009, 05:05 PM
  5. How do we check allocated disk space
    By shann in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-10-2006, 02:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube