Tag Info

New answers tagged

1

You can't do fdisk because you're already at twice MBR's maximum with a 4TB device at 512b sectors. You need to format it with GPT. From wikipedia: The organization of the partition table in the MBR limits the maximum addressable storage space of a disk to 2 TB (232 × 512 bytes). Get the gdisk package and reformat the disk (though it seems to me it ...


2

The answer is "Probably yes, but it depends on the filesystem type, and timing." None of those three examples will overwrite the physical data blocks of old_file or existing_file, except by chance. mv new_file old_file. This will unlink old_file. If there are additional hard links to old_file, the blocks will remain unchanged in those remaining links. ...


5

I'm going to say no (with a giant asterisk). Think about how data is laid on a disk. You have blocks which contain data and point to the next block (if there is one). When you overwrite data you are changing the block contents (and if you are extending the file all the ending marker). So nothing should be able to be recovered (see below). If you shorten ...


3

All three data journaling modes should leave the filesystem itself fully intact after a power failure. So it should always mount without errors. The difference is only in the data in your files; data=writeback mode may leave stale data (i.e., what was stored in the disk sectors before the writes your app did). data=ordered and data=journaled should not do ...


0

Related question/answer at http://serverfault.com/questions/556014/centos-thinks-disk-is-busy-cant-mount-or-fsck Specifically, the filesystem might already be in use by something other than mount of fsck. Either of fuser and lsof might help in figuring out what that driver/application is.



Top 50 recent answers are included