Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 14, 2011 5:33 am 
Offline
Senior Newbie

Joined: Sat Dec 18, 2010 5:45 am
Posts: 11
A good question appeared on IRC tonight. If you delete a disk in the Linode control panel is the disk zeroed out before that storage it is made available for other people's disks? If not, this is a bit worrisome because there is no warning.


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 5:39 am 
Offline
Newbie

Joined: Sun Dec 19, 2010 6:22 pm
Posts: 3
Website: http://www.monkeydust.net
Location: Portsmouth, UK
I suspect that you might be safe as the disks linode presents to the end user are stored as (i think), vhd files on disk, so when when you delete a linode disk the server just deletes the vhd file.

Because a linode doesnt get raw disk access I don't think that another customer would be able to retrieve any files from your old disk.

Of course this wouldn't stop someone who had access to the host server from retrieving the deleted disk image and recovering files from it but if they had access to the host then there really isn't much you can do short of whole disk encryption (plus if they have access to the host then you have bigger worries!).

Of course this answer does make assumptions on how Linode setup Xen so I could be totally wrong about this :P


Top
   
PostPosted: Mon Feb 14, 2011 5:57 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
wtogami wrote:
If you delete a disk in the Linode control panel is the disk zeroed out before that storage it is made available for other people's disks?

Yes. However, if you cycle a few disk images you may get chunks that were previously allocated to you (and contain your data).

This has nothing to do with Xen.

-Chris


Top
   
 Post subject:
PostPosted: Tue Feb 15, 2011 12:33 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 567
Website: http://www.mattnordhoff.com/
Hmm, what if you resize a disk image smaller? Does the now-unused portion get zeroed out?

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Tue Feb 15, 2011 12:58 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
mnordhoff wrote:
Hmm, what if you resize a disk image smaller? Does the now-unused portion get zeroed out?

That condition is not handled. When we designed the scrubber there was no efficient and practical way to accomplish this. One could argue usage patterns of ext3 volumes favor freeing unused (or never used) space in the first place when resizing, but it's not a perfect argument.

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group