LinuxQuestions.org
Visit Jeremy's Blog.
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 09-10-2005, 06:36 PM   #1
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Rep: Reputation: 0
Mounting a scsi harddisk Problems


hello All,

I have been trying to mount a scsi harddrive which has ntfs filesystem and I am having very little success. I am the neebieist newbie you could imagine.

I get to a point were on giving the mount command with the address of the disk and were it should be mounted I get an error stating it can't be found in /etc/fstab or /etc/mtab

Could anyone help please.

Colpe
 
Old 09-10-2005, 07:00 PM   #2
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Why have you posted this message multiple times? Have you not read the forum rules?
 
Old 09-10-2005, 07:11 PM   #3
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

Sorry about that.
I wasn't sure which category my question was most suited.
Being a newbie and it being a hardware problem I was confused.

Sorry

Colpe
 
Old 09-11-2005, 12:17 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
From the other thread:

Have you added an entry for this drive to /etc/fstab, as the error states?
 
Old 09-11-2005, 04:04 AM   #5
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you Matir for the reply.

If I understand you right no I haven't entered the drive in etc/fstab.
How would one do such an entery command?

colpe


p.s to all the members who took offense to my niave disregard for the posting
rules , I am sorry and it will not happen again.
 
Old 09-11-2005, 04:32 AM   #6
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Quote:
Originally posted by colpe

p.s to all the members who took offense to my niave disregard for the posting
rules , I am sorry and it will not happen again.
No worries, just trying to stop you doing it in the future

Quote:
If I understand you right no I haven't entered the drive in etc/fstab.
How would one do such an entery command?
/etc/fstab is a file that contains bit's of information that inform your operating system what drives to mount, what file system to use and various options. Part of my /etc/fstab is listed below:

Code:
/dev/hda8       /               reiserfs        noatime                 0       1
/dev/hda1       /boot           ext2            noauto,noatime          0       2
/dev/hda7       /home           ext3            noatime                 0       2
This file is structured like so:

[device] [mount point] [file system] [options] [dump] [pass]

An scsi hard disk will normally be /dev/sda (if it is the primary, if it is secondary it will be /dev/sdb). If the scsi is one big partition, then you could just use:

Code:
/dev/sda1 /mnt/windows ntfs noatime 0 0
As root, you can insert this data using a text editor like nano, vim or emacs, or you could just use the echo command like so:

Code:
 
su 
# type your root users password
echo "/dev/sda1 /mnt/windows ntfs noatime 0 0" >> /etc/fstab
mount -a
the >> means redirect the output into the end of /etc/fstab (a single > will make the contents of the file the output of echo, so make sure you use two >'s). mount -a mount's all the devices listed in /etc/fstab, so if you don't get any error's when you execute this command, then you are good to go! Make sure that you mount to a real location, i.e. make the directory /mnt/windows, or replace /mnt/windows above accordingly.

Side note, Linux does not fully support ntfs, as it is a proprietary file system made by Microsoft. Mounting an ntfs partition is not recommended, as Linux can corrupt the data in the ntfs filesystem.
 
Old 09-11-2005, 05:12 AM   #7
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you tomj88,

I got alot out of that explaination.
Although on implementation of the first code dev/sdb1 mnt/windows ntfs noatime 0 0
I am been denied Permission. I am logged in as root so i wonder why has dash denied me permission?

colpe
 
Old 09-11-2005, 05:12 AM   #8
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you tomj88,

I got alot out of that explaination.
Although on implementation of the first code dev/sdb1 mnt/windows ntfs noatime 0 0
I am been denied Permission. I am logged in as root so i wonder why has dash denied me permission?

I should also say that I am trying to save some important files on the scsi so a reinstallation of win os on the computer where the scsi disk came from can be done.

I am trying to use my linux (fedora 4) computer to mount the disk in order to save the files temporarily.


colpe

Last edited by colpe; 09-11-2005 at 05:26 AM.
 
Old 09-11-2005, 06:17 AM   #9
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
thanks to all contributions but I think its a lost battle.

Some research has thrown light on the file lock ntfs have when transit,
basically it is entrenched in windows os.

I will have to bite the bullet and loose the files.

colpe


 
Old 09-11-2005, 12:40 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Quote:
Originally posted by colpe
thanks to all contributions but I think its a lost battle.

Some research has thrown light on the file lock ntfs have when transit,
basically it is entrenched in windows os.

I will have to bite the bullet and loose the files.

colpe


You should be able to read, though not write, ntfs filesystems without a problem. Can you post your current /etc/fstab?
 
Old 09-11-2005, 01:54 PM   #11
colpe
LQ Newbie
 
Registered: Sep 2005
Location: Stockholm
Posts: 11

Original Poster
Rep: Reputation: 0
Everything got screwed up today. After realising the difficulty with accessing the disk I brought it back into the
windows hoping I could do something there. Well that just lead to more problems. I had bios problem and the disk didn't want to start the os. Maybe my attempts to mount the disk from the linux machine left its mark some how.

Well because of newbieness and complete lack of know-how I choose to format the disk and re install win 2000.


Thank you for helping in any case.
I think I will need to sharpen my linux before I attempt any other installs.

all the best
colpe
 
Old 09-11-2005, 02:50 PM   #12
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
It is a SCSI, right? Among other things this means you have to set ID and termination properly, and still it is not guaranteed to work with a SCSI controller it was not formatted with.
 
Old 09-11-2005, 03:27 PM   #13
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Quote:
Originally posted by Emerson
It is a SCSI, right? Among other things this means you have to set ID and termination properly, and still it is not guaranteed to work with a SCSI controller it was not formatted with.
SCSI devices are not guaranteed to work with other controllers? Seriously?
 
Old 09-11-2005, 03:59 PM   #14
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Yes, it was quite a long time ago I learned it, but... I think things are like that:
Unlike IDE disks SCSI disks do not have built-in controllers. (IDE controllers are built into disks and the thing on the m/b is barely providing the IDE interface and shouldn't be called controller). Now, since disk access is up to controller - which is an external unit - and there are no standards how exactly controller must treat the disk, the compatibility is not guaranteed.
I realize of course my explanation is oversimplified, here is more!
 
Old 09-11-2005, 04:13 PM   #15
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Interesting. Though, according to that, it appears as though the incompatibility standard is more or less left to SCSI-1 and somewhat SCSI-2. Newer devices should work together.

In that way, ATA is very much superior. The intricacies of the hardware on a given disk should NOT be handled by the "controller" (that is, motherboard or PCI controller). Each device should consistently respond to commands regardless of environment.

Though I do have to say... SATA2 with NCQ... drool.
 
  


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
Mounting a scsi harddisk Problems colpe Linux - Hardware 5 09-10-2005 08:51 PM
Mounting a scsi harddisk Problems colpe Linux - Distributions 1 09-10-2005 06:40 PM
Solaris + New Scsi Harddisk kjsubbu Solaris / OpenSolaris 3 04-27-2005 04:05 AM
Problems mounting SCSI DVD-RW giant Linux - Hardware 0 10-15-2004 02:46 PM
Problems mounting usb harddisk aargh Linux - Hardware 3 09-16-2004 09:59 PM


All times are GMT -5. The time now is 04:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration