dection 5Storage Devices.docx

And i said yep thats exactly right because the

Info icon This preview shows pages 44–46. Sign up to view the full content.

say "Hey, wait a minute you made a mistake you typed umount on unmount." and I said yep that's exactly right because the command is not unmount it is umount. So we type umount /dev/sdb1, hit Enter and now this partition is no longer mounted in this directory in the file system and because it's not mounted anymore, we can check it for errors. To do this we type fsck followed by the device file name for that partition. /dev/sdb1 the partition whose file system we want to check. Press Enter, and it'll run through, check the file system for errorsand warn us if there's any problems. It'll actually try to clean up and fix any errors that it can, if it runs in to errors that it can't it'll provide a warning, however you can see that this file system was actually clean so we are good to go. Now in order to start using the files in that file system again I have to remount this partition back in to the directory structure in /mount/shared so I would type mount -t followed by the file system type that's been created on this partition and I happen to know the ext4 file system when I created the file system on that partition. Then I have to specify the device file name of the partition that I want to mount. /dev/stb1 and then I have to specify where I want to mount that partition in the file system so I can access the files on that partition /mnt/shared and now if we go back over here and open files again, go to computer, go to mount, go to shared, I should be able to see all my files, everything's back the way it was and we know that the file system on this partition is free of errors. Summary 7:59-8:07
Image of page 44

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

That's it for this demonstration. In this demo, we talked about optimizing disks on a Linux system. We first looked at the df command, the du command and then we ended this demonstration by looking at the file system check command. Optimizing Disks in Mac OS 0:00-0:42 In this demonstration, we're going to look at optimizing disks, on a Mac OS system. Now, I do want to point out that similar to Linux systems, Mac OS systems do not need to be defragmented, really at all.This is especially true with solid state hard drives. The reason being, is the fact that the Mac file system does a very efficient job of storing and retrieving data. However, apart from defragmenting, there are a few things you can do to speed up a hard drive and repair hard drive errors on a Mac system. Let's start by looking at how we can identify disk usage. As disks fill up, they become less efficient. A good rule of thumb is that when a hard drive gets to about 80% capacity, it's time to delete files. Identifying Folder and File Size 0:43-1:56 One way of identifying disk usage, is by looking at the size of files and folders on the system. This is done by selecting the file or folder and either pressing Command + i or right-clicking the item and clicking, Get Info.
Image of page 45
Image of page 46
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Serial ATA

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern