LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-16-2004, 12:08 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Rep: Reputation: 32
Hard drive access


hello

How does one view how many hard drives on the system

6.8g - 4.3g - 4.3g - cdrom

I did a fresh install using tinysofa with 3 hard drives, the install went well

also i would like to know how to mount the drives for samba sharing

can any one help me oot please.

TT
 
Old 06-16-2004, 12:59 AM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
You could try something like
Code:
[mascdman@apollo mascdman][ :) ]$ ls -l /dev/hd*
lr-xr-xr-x    1 root     root           32 Jun  4 19:39 /dev/hde -> ide/host2/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde1 -> ide/host2/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde2 -> ide/host2/bus0/target0/lun0/part2
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde3 -> ide/host2/bus0/target0/lun0/part3
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde4 -> ide/host2/bus0/target0/lun0/part4
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde5 -> ide/host2/bus0/target0/lun0/part5
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hde6 -> ide/host2/bus0/target0/lun0/part6
lr-xr-xr-x    1 root     root           32 Jun  4 19:39 /dev/hdf -> ide/host2/bus0/target1/lun0/disc
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf1 -> ide/host2/bus0/target1/lun0/part1
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf2 -> ide/host2/bus0/target1/lun0/part2
lr-xr-xr-x    1 root     root           33 Jun  4 19:39 /dev/hdf3 -> ide/host2/bus0/target1/lun0/part3
[mascdman@apollo mascdman][ :) ]$
This shows I have two hard drives with a lot of partitions. To mount one of the partitions, you can run (as root)
Code:
mount /dev/hde6 /mnt/music
You should then be able to export /mnt/music via Samba.

--mascdman
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Access numbersix Linux - Hardware 4 02-13-2005 04:30 AM
only access 13 gb out of 40 gb hard drive from rh 9.0 shobhit Linux - Hardware 2 08-14-2004 02:39 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
How Do I Access My New Hard Drive luv5speed Linux - General 11 02-17-2004 06:34 PM
Why does Redhat 8.0 access hard drive second by second? Cyclops Linux - Distributions 5 11-20-2002 08:34 PM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration