LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-03-2008, 01:11 PM   #1
leicaphotos
Member
 
Registered: Oct 2008
Posts: 68

Rep: Reputation: 15
pcbsd second hard drive question


I have a second hard drive on my box - I have run sysinstall to configure it with fdisk and dsklabel - Now, how do I get the system to recognize the drive?
The drive will be used mostly for backups of our webserver - it's an identical drive to the primary

what steps are necessary to make the system recognize the drive and to implement the backup of mysql data as well as physical files in the web root area?


sorry for the noob question...

Blake
 
Old 12-04-2008, 06:58 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
sorry for the noob question...
Are you running Linux, BSD, Windows, Mac.....what?....what kind of Mac, BSD, Windows, or Linux is it?

If what you're "attempting" to say is that it is partitioned and formatted.

In a terminal as root or sudo run command: fdisk -l to see all drives and their partitions. If it shows up as /dev/sdb and the first partition is /dev/sdb1, you need to mount it. Let's just guess you formatted it HFS+ (since you say nothing at all). Make a directory to access it with command similar to: mkdir /macpartition, then you have to enable HFS+ support since it is not enabled by default with commands: modprobe hfs and modprobe hfsplus. Now mount it to the directory you made earlier with command: mount -t hfsplus /dev/sdb1 /macpartition. Now you should be able to see the empty drive in /macpartition.

You may have to install similar packages first: hfsplus, hfsutils, hfsutils-tcltk
 
Old 12-04-2008, 07:27 AM   #3
leicaphotos
Member
 
Registered: Oct 2008
Posts: 68

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Junior Hacker View Post
Are you running Linux, BSD, Windows, Mac.....what?....what kind of Mac, BSD, Windows, or Linux is it?

If what you're "attempting" to say is that it is partitioned and formatted.

In a terminal as root or sudo run command: fdisk -l to see all drives and their partitions. If it shows up as /dev/sdb and the first partition is /dev/sdb1, you need to mount it. Let's just guess you formatted it HFS+ (since you say nothing at all). Make a directory to access it with command similar to: mkdir /macpartition, then you have to enable HFS+ support since it is not enabled by default with commands: modprobe hfs and modprobe hfsplus. Now mount it to the directory you made earlier with command: mount -t hfsplus /dev/sdb1 /macpartition. Now you should be able to see the empty drive in /macpartition.

You may have to install similar packages first: hfsplus, hfsutils, hfsutils-tcltk
running pcbsd as i mentioned in the subject line
 
  


Reply



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
2 hard drive question cabrando MEPIS 3 11-02-2005 03:43 PM
Hard Drive Question Ghost of War Linux - Hardware 2 10-21-2003 01:35 PM
2 Hard Drive Question jmelgin Linux - Newbie 2 09-15-2003 07:06 PM
hard drive question Joey.Dale Linux - Hardware 1 09-01-2003 11:42 AM
Hard Drive question 1_8_7 Slackware 25 08-25-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:48 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
Open Source Consulting | Domain Registration