Linux Talk | Working with Drives and Filesystems

Linux Talk | Working with Drives and Filesystems

Video is ready, Click Here to View ×


This video will show you how to interact with drives and filesystems from the command line.

Ext4 File System Commands

Write out all data to drives:

sync

fsck, lost+found and forcefsck:

fsck /dev/device

touch /forcefsck

cd lost+found (as root only)

SSD TRIM:

fstrim (mount point)

add ‘discard’ option to fstab

Defrag (for spinning drives only):

e4defrag (directory or mount point)

Reset reserved space to 1%:

tune2fs -m 1 /dev/device

Please be sure to give EzeeLinux a ‘Like’ on…

admin

26 Comments

Joe you do such a great job. I never new anything about: arp, tune2fs, e4defrag, none of that. I thank the maker for you just having time to come here and explain this. I thank you. For all that you do.

Hey Joe, I'm new to SSDs I'm testing out Linux Mint 18, and Linux Lite on a Computer I just built. It has 16 gigs of Ram so swapping shouldn't be a big issue. My SSD is a Kingston SSD now 300 V 240 Gig. What do I need to change about how Linux uses drives so that I can get the maximum life and data storage out if it?

Hi Joe, that was a really interesting video. I am using Linux since many years. I see there are still things to learn. Thank you for the video. I liked it much. You don't need to do shorter videos because you have to explain what you are doing, and that need some time. Thx

Leave a Reply

Your email address will not be published. Required fields are marked *