Home
Username:
Password:
Unix System Administration Essentials Tutorials

Administering the File System / Creating a File System




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

During this session we're actually going to run a demonstration on creating a file system within BSD UNIX using the sysinstall utility. Now, we're actually installing a version of BSD, the latest one out there at the time of this recording, which is BSD Version 8, Stable Version and we're actually going to use the sysinstall utility to create the file system that we've put together on BSD 8. So let's go ahead and take a look at that now. We're in the Setup Menu for Free BSD 8. What we need to do is go ahead and just step through the installation. What we're going to look at is a standard installation and the first thing that will get us is the fdisk type of menuing system that sysinstall uses. We're going to say OK and right now we have an 8-gig disk that has nothing on it so what we want to do is create a slice. Now, let's go ahead and create a slice and we're only going to use a small amount of this. Let's go ahead and use a2-gigabyte slice and we'll say OK to that and we're going to use a Native Free BSD slice, which is Type 165. We could put 6 for DOS FAT, 131 for a Linux Ext 2 file system or 130 for a Linux Swap. Let's go ahead with a 165 and choose the Free BSD Native and so now we have a Free BSD slice there. It's only two gig and that's alright. Let's go ahead and as we can notice, it's on DA0 S1. Well, that is a SCSI disk, not a serial ATA or an IDE. Notice earlier when we installed or demonstrations we were looking at AD0. Well, that is an ATA or IDE. This is DA0, which is a SCSI. So we got a SCSI disk that we're using and we've created it on Slice 1. Let's go ahead and do another slice. Let's go ahead and put one gigabyte on there and we're going to use that for our Swap. So let's go ahead and put a Swap partition on there and we're going to use a 130 as well. So now we have a Linux Swap and we're going to say OK to that. We're going to go ahead and go to Q. We're going to install a standard NBR. Actually, we're going to go ahead and use the Free BSD group manager, which as we learned earlier is Boot 0. We're going to say OK to that. We need to create some BSD partitions in there so let's say OK and this is the Free BSD Disk Label Editor and this is the same as BSD Label, that command. So we could create some mount points here so let's go ahead and do a C and we can leave this with the two gig here and we're going to say it's a file system and we're going to specify the Root as the mount point because this is going to be our basic file system where everything else is. We're going to say OK, that's what we're going to use and we put that on DA0 S1 A, which is the SCSI Disk 0, Slice 1, Partition A and that's our mount point and it's the two-gig partition we just created, our two-gig slice rather we just created a few minutes ago. So as you can see, sysinstall actually works very well to create a slice and partition information to create a Swap and to create standard file system, a UFS file system under Free BSD.

Tutorial Information

Course: Unix System Administration Essentials
Author: Bobby Rogers
SKU: 34153
ISBN: 1-936334-45-3
Release Date: 2010-08-12
Duration: 4.5 hrs / 57 lessons
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available