LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mount two NTFS drives in Redhat 9. One mounts, the other won't ?? (https://www.linuxquestions.org/questions/linux-hardware-18/mount-two-ntfs-drives-in-redhat-9-one-mounts-the-other-wont-121151/)

drumlinuxuser 11-29-2003 10:32 PM

mount two NTFS drives in Redhat 9. One mounts, the other won't ??
 
hey guys. you all have helped out so much. Hopefully someone can help me here. I'm running Redhat 9 with the latest kernel updates and I'm trying to mount my 2 NTFS drives. Now I'v edited fstab for both. It looks like this:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb1 /mnt/win ntfs auto,ro,umask=002 0 0
/dev/hdc2 /mnt/second ntfs auto,ro,umask=022 0 0

----------------------------------------------------------------------------------------------------------------

sfdisk -l looks like this:

Disk /dev/hdc: 1027 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdc1 0 - 0 0 0 Empty
/dev/hdc2 0+ 1026 1027- 8249346 7 HPFS/NTFS
/dev/hdc3 0 - 0 0 0 Empty
/dev/hdc4 0 - 0 0 0 Empty

Disk /dev/hda: 4998 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 12 13- 104391 83 Linux
/dev/hda2 13 207 195 1566337+ 82 Linux swap
/dev/hda3 208 4997 4790 38475675 83 Linux
/dev/hda4 0 - 0 0 0 Empty

Disk /dev/hdb: 1582 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdb1 * 0+ 1580 1581- 12699351 7 HPFS/NTFS
/dev/hdb2 0 - 0 0 0 Empty
/dev/hdb3 0 - 0 0 0 Empty
/dev/hdb4 0 - 0 0 0 Empty

---------------------------------------------------------------------------------------------------------------
Now the problem that I'm having is this. When the pc boots, the HDB1 drive mounts just fine. I can use it and it's great, but the hdc2 will not mount. this is the error when that drive tryies to mount:

[root@linux root]# mount -t ntfs /dev/hdc2 /mnt/second
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
or too many mounted file systems

------------------------------------------------------------------------------------------------------------------

I can not figure out how to mount this second drive . Is it because it is not on HDC1? If that is the case, how do I get it to HDC1? Any ideas would be GREATLY appreciated. Thanks a lot

Drumlinuxuser

finegan 11-30-2003 01:51 PM

Sorry, I was wondering if you could indulge my paranoia a bit, I've never trusted the output of sfdisk. What's the "dmesg" scan look like on the drive partitions? It should look something like the indented part of this:

Code:

hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(33)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(100)
hdg: attached ide-disk driver.
hdg: host protected area => 1
hdg: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(100)
hda: attached ide-cdrom driver.
hda: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
 hdc: hdc1 hdc2
 hde: hde1 hde2
 hdg: hdg1 hdg2
md: considering hdg2 ...
md:  adding hdg2 ...
md:  adding hde2 ...

Cheers,

Finegan

drumlinuxuser 11-30-2003 09:58 PM

Finegan,

I hope this is what your looking for ...

hda: Maxtor 6E040L0, ATA DISK drive
hdb: WDC AC313000R, ATA DISK drive
blk: queue c03c5920, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03c5a64, I/O limit 4095Mb (mask 0xffffffff)
hdc: Maxtor 90845D4, ATA DISK drive
hdd: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
blk: queue c03c5d84, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=4998/255/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: task_no_data_intr: error=0x04 { DriveStatusError }
hdb: host protected area => 1
hdb: 25429824 sectors (13020 MB) w/512KiB Cache, CHS=1582/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=16383/16/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
hdb: hdb1
hdc: [PTBL] [1027/255/63] hdc2
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.

siddiqu 11-30-2003 11:50 PM

Hi..

Please post ur fdisk -l /dev/hdc output.

May be the partition u are trying to mount may be an extended partition.

Regards

Siddiqu.T

whansard 12-01-2003 12:24 AM

does the directory /mnt/second exist?

drumlinuxuser 12-01-2003 08:32 PM

hey guys... I really appreciate all the help you guys give ...... I'm not sure what the deal is with the NTFS part of Linux. It seems that you can't mount 2 drives with NTFS partitions - Maybe?? I don't know ... I used Partition Magic and converted the drive to FAT32 and it now mounts fine... which is better anyways because you can read and write to a fat partition.... I'll mess with the second ntfs problem later I guess... I have on NTFS drive mounted fine... Thanks again ....

Drumlinuxuser


All times are GMT -5. The time now is 08:05 PM.