Results 1 to 8 of 8
Hello,
I have server in which I have 2 HDD. One is primary and in it is Linux CentOS. Last week my server stop to work and I reboot it. ...
- 03-17-2011 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
How to access to mounted HDD?
Hello,
I have server in which I have 2 HDD. One is primary and in it is Linux CentOS. Last week my server stop to work and I reboot it. But after that reboot second mounted HDD in which I backup my files aren't visible at old path. Old path is - I login via SSH and there is folder named SECOND, but now that isn't case.
I want to know, how I to see in which folder to enter, which one is for second HDD?
I see both, but how to enter in it?
And to see what is in it (my old data)?
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 48641 390604410 8e Linux LVM
Disk /dev/sdb: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 83 Linux
Thank you very much.
- 03-17-2011 #2
I *guess* your backup drive is sdb.
If so, you should add a entry to /etc/fstab, that starts like this:
/dev/sdb1 /SECOND
filesysytem, filesystem options, dump parameter, pass parameter need to be added,
but depend on your decisions.You must always face the curtain with a bow.
- 03-17-2011 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
Manually to add it?
What to do after add, do I need to execute some command?
- 03-17-2011 #4
After /etct/fstab is setup correctly, "mount /SECOND" will do.
Can you please show your /etc/fstab?
And what filesystem do you use on for your backup partition?
Also, this directory SECOND is in / right?You must always face the curtain with a bow.
- 03-17-2011 #5Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
This is file /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 1 1
LABEL=/boot /boot ext3 1 2
tmpfs /dev/shm tmpfs 0 0
devpts /dev/pts devpts 0 0
sysfs /sys sysfs 0 0
proc /proc proc 0 0
/dev/VolGroup00/LogVol01 swap swap 0 0
No, this /SECOND isn't in this file
- 03-17-2011 #6
ok, try this:
Then add this line to /etc/fstabCode:mkdir -p /SECOND
Code:/dev/sdb1 /SECOND ext3 noatime 0 0
Code:mount /SECOND ls -la /SECOND
You must always face the curtain with a bow.
- 03-17-2011 #7Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
Thank you very much. I solve problem with this command:
mount /dev/sdb1 /second
- 03-18-2011 #8
If you won't add an entry of Second Hard disk in /etc/fstab file, you will have to execute mount command on every reboot.
I would suggest you to edit /etc/fstab file as suggested by Irithori.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote