Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 24th September 2008, 03:45
hhhhhh hhhhhh is offline
Join Date: Sep 2008
Posts: 36
Thanks: 10
Thanked 0 Times in 0 Posts
Default Little issue about hdd. I can't find the 2nd


I was searching my second hard drive the last night to make a mirror with other folders (send all uploaded images to the 2nd hdd), but I didn't find it.

When I execute fdisk -l in ssh appear that:

Disk /dev/sda: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cad43

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       17495   140528556   83  Linux
/dev/sda2           17496       18241     5992245    5  Extended
/dev/sda5           17496       18241     5992213+  82  Linux swap / Solaris

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9bae9bae

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121600   976751968+  83  Linux
/dev/sda is the main disc, where I have the linux OS and scripts.
/dev/sdb is the 2nd where I want create folders.

I went to /dev folder and missing, I went to /media folder and missing

After that, i went to /etc/fstab to watch it and display it:

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=336011ee-a92d-4b0e-bf81-56963a685b6b /               ext3    relatime,errors=remount-ro,usrquota,grpquota 0       1
# /dev/sda5
UUID=539d6ba9-38ae-4143-a3d6-03b6ab05f80e none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
My question is How can I do to show sdb or sdb1 disc in /media or /dev folder like display in fdisk?

I was thinking to do it but I prefer to receive another opinion:

$ sudo mkdir /media/sdb1
$ sudo mount /dev/sdb1 /media/sdb1

I read about edit fstab but I don't know how to do it.

Thanks in advance!

Last edited by hhhhhh; 24th September 2008 at 17:22.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS MX Issue jmead Installation/Configuration 3 29th November 2007 11:06
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 14:49
Sudden Problem Started using cp: command "omitting directory" bpmee Server Operation 11 22nd November 2006 17:39
view webalizer stats kuyaedz General 22 12th March 2006 15:45
mirrored 2nd HDD ubutux Installation/Configuration 2 8th December 2005 18:38

All times are GMT +2. The time now is 14:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.