The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

never delete virtfs

Discussion in 'General Discussion' started by AbeFroman, Jul 7, 2003.

?

What should virtfs be changed to?

  1. Leave it as virtfs

    14 vote(s)
    36.8%
  2. dont_delete

    3 vote(s)
    7.9%
  3. delete_this_and_your_screwed

    21 vote(s)
    55.3%
  4. leave_this

    0 vote(s)
    0.0%
  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    never delete virtfs, it has hard links to necessary system files. I had to rebuild 3 servers before i figured that out. You'd think cpanel could change virtfs to dont_delete or something

    cPanel.net Support Ticket Number:
     
  2. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    GREAT!!!!!!!!!!! I guess I learned that a little late!!! :mad: :mad: :mad: :mad: :mad:

    cPanel.net Support Ticket Number:
     
  3. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    So when some script kiddie gets in and sees dont_delete I suppose they will make sure to follow your instructions

    cPanel.net Support Ticket Number:
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
  5. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    not too sure how it can take you 3 times before you find out. The very first time I did it, I knew it was screwed the very second after I did it. But indeed, a better warning should be somewhere, perhaps where you manage your shell/jails.

    cPanel.net Support Ticket Number:
     
  6. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Under "WHM News" or even next to the little checkbox within WHM where jailshell is enabled, there should be a HUGE WARNING explaining the potential implications that this may have.

    Reloading everything on a machine (even if you have done it many times before) takes time. If you're fast and know how to restore a cPanel machine quickly and effectively, it sill takes at least 3 hours from the time you start reloading the OS until you are completely finished, especially if you have to install cPanel, recompile the kernel, etc...

    Nick, if you see this, please put a warning there. This will prevent other people from messing up their machines and from getting pissed the way I did.

    cPanel.net Support Ticket Number:
     
  7. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Shucks, I think this is what I ended up doing.

    WHat now? How do I restore? Even the server WHM is inaccessible!
     
  8. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Shucks. It seems Cpanel does this hardlinking in the stupidest possible manner:

    From: jailshell virtfs | Learn cPanel : The Ultimate cPanel Tutorial Resource

    What sort of nonsense is this? Anyway, after attempting to delete a specific folder from within virtfs/USER, do I really need to do an entire OS reload?
     
  9. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Whatever file you are deleting from /home/virtfs is actually getting removed from the actual location.
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    They are not hard links. The directories are bind mounts.
     
Loading...

Share This Page