Second drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm, maybe I'm doing something wrong. It looks as though I created it ok:

#df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             3.2G  2.5G  510M  84% /
/dev/hda1              99M  9.2M   85M  10% /boot
none                  251M     0  251M   0% /dev/shm
/dev/hdb1             3.2G  2.5G  510M  84% /

Above command shows, it's only 510M free??? Yet it's a 13G drive:

#fdisk /dev/hdb
The number of cylinders for this disk is set to 1582.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 13.0 GB, 13020069888 bytes
255 heads, 63 sectors/track, 1582 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      1582  12707383+  83  Linux

I tried to create a directory that I could add to the /etc/fstab to
mount at boot:

# mkdir /dev/hdb1/data
mkdir: cannot create directory `/dev/hdb1/data': Not a directory

I want to use all of the drive as a mount point, say, "Data", what am
I doing wrong?

----Original Message Follows----
From: "Gavin McDonald" <gavitron@xxxxxxxxx>
Reply-To: me@xxxxxxxxxxxx,General Red Hat Linux discussion list
<redhat-list@xxxxxxxxxx>
To: "'General Red Hat Linux discussion list'" <redhat-list@xxxxxxxxxx>
Subject: RE: Second drive
Date: Thu, 5 Jan 2006 12:43:28 -0800

It's fairly straightforward;
fdisk, cfdisk, diskdruid will all partition the drive,
format it with the chosen FileSystem, (ext2, ext3, reiserFS, etc)
make a mount point, (mkdir /foo)
add the mount info to /etc/fstab to mount at boot.

Details can be googled.

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me@xxxxxxxxxxxx
phone: (604) 313-3845


 > -----Original Message-----
 > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
 > bounces@xxxxxxxxxx] On Behalf Of Tenacious One
 > Sent: Wednesday, January 04, 2006 6:05 PM
 > To: redhat-list@xxxxxxxxxx
 > Subject: Second drive
 >
 > Hello guys & gals; I have a question, I have a second drive that I'd like
 > to
 > assign or use the second drive for user directories, I've been using a
 > single drive for years and this is the first time I've installed a second
 > drive, now I have to figure out how to use it and have it automatically
 > mounted for all users.... How can I do this?
 >
 > Thanks in advance,
 > Rx
 >
 > --
 > /==========The One===========\
 > RacerX, MCP, MCPI, MCSE
 > Active member "170 MPH Club"
 > Microsoft Certified Systems Engineer/WebMaster/Web Developer
 > "...not all super heroes wear a cape...some ride a Suzuki GSX1300R..."
 > --
 > redhat-list mailing list
 > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
 > https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





--
/==========The One===========\
RacerX, MCP, MCPI, MCSE
Active member "170 MPH Club"
Microsoft Certified Systems Engineer/WebMaster/Web Developer
"...not all super heroes wear a cape...some ride a Suzuki GSX1300R..."

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux