From the course: Linux: Storage Systems

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Formatting and mounting

Solution: Formatting and mounting - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

Solution: Formatting and mounting

- [Instructor] Now let's look at the solutions. How to do the partitioning, formatting, and we're going to mount and look at the directories. And then we're going to look at NFS and autofs. So we want to make some partitions. So I'm going to list the disks I have on my system, fdisk -l, and I'll pipe that into grep Disk with a capital D and that would just list the disks. And I really have three regular disks, sda, sdb and sdc. A and b are 250 gig and c is one gig. So sdc is a little thumb drive, so that's what I'm going to be experimenting with. So I'm going to partition with fdisk and I'm going to say /dev/sdc. Be really careful here, right, a typo, if you accidentally said a, and that was your system disk, you'd be in a lot of trouble if you made some changes. All right, so, double, triple check, make sure you're working with the right one here. Or you're in a VM that, if you wipe it out, it's okay. All right, so there we go. Let's see if there's any partitions already. Yeah…

Contents