LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-27-2010, 05:12 AM   #1
Prashant19_s
LQ Newbie
 
Registered: Apr 2010
Location: Pune,India.
Distribution: Cent Os, Ubantu,Red hat.
Posts: 7

Rep: Reputation: 0
Question mounting hda5 and sda7 is not working at same time


Hello,
I need help regarding mounting file system in centos,(NTFS)
I am able to mount hda5 which is NTFS in centos by editing /etc/fstab,
but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working.
BOTH HDDs are NTFS , one is SATA and other is IDE, Please guide regariing it.(in detail)

Thanks
 
Old 09-27-2010, 06:30 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Will you provide fdisk command output and fstab file info.

Code:
# fdisk -l

# cat /etc/fstab
Regards,
 
Old 09-27-2010, 07:03 AM   #3
Prashant19_s
LQ Newbie
 
Registered: Apr 2010
Location: Pune,India.
Distribution: Cent Os, Ubantu,Red hat.
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sem007 View Post
Will you provide fdisk command output and fstab file info.

Code:
# fdisk -l

# cat /etc/fstab
Regards,
here it is as follows,

Nothing to do
[root@localhost ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4770 38310786 7 HPFS/NTFS
/dev/hda2 4868 9732 39078112+ f W95 Ext'd (LBA)
/dev/hda3 4771 4782 96390 83 Linux
/dev/hda4 4783 4867 682762+ 8e Linux LVM
/dev/hda5 4868 9732 39078081 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4864 39070048+ 7 HPFS/NTFS
/dev/sda2 4865 19456 117210240 f W95 Ext'd (LBA)
/dev/sda5 4865 9728 39070048+ 7 HPFS/NTFS
/dev/sda6 11769 14592 22682624 b W95 FAT32
/dev/sda7 14593 19456 39070048+ 7 HPFS/NTFS
/dev/sda8 9729 11768 16386268+ 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/sdb: 1027 MB, 1027603456 bytes
33 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 2079 * 512 = 1064448 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 966 1003503 b W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 33)
Partition 1 has different physical/logical endings:
phys=(227, 32, 63) logical=(965, 12, 47)
[root@localhost ~]#







[root@localhost ~]# cat /etc/fstab
/dev/VolGroup01/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup01/LogVol01 swap swap defaults 0 0

#/dev/sda /mnt/win_ntfs ntfs defaults 0 0
#1/dev/sda1 /mnt/win_ntfs ntfs defaults 0 0
#/dev/sdb1 /mnt/win_ntfs ntfs defaults 0 0
#1/dev/sda5 /mnt/win_ntfs ntfs defaults 0 0
/dev/sda7 /mnt/win_ntfs ntfs defaults 0 0
/dev/sda6 /mnt/win_ntfs vfat defaults 0 0
#1/dev/sda2 /mnt/win_ntfs ntfs defaults 0 0
#1/dev/sda8 /mnt/win_ntfs ntfs defaults 0 0
#/dev/hda /mnt/win_ntfs ntfs defaults 0 0
#1/dev/hda1 /mnt/win_ntfs ntfs defaults 0 0
#1/dev/hda2 /mnt/win_ntfs ntfs defaults 0 0
#/dev/hda3 /mnt/win_ntfs ntfs defaults 0 0
#1/dev/hda4 /mnt/win_ntfs ntfs defaults 0 0
/dev/hda5 /mnt/win_ntfs ntfs defaults 0 0
#/dev/hdb /mnt/win_ntfs ntfs defaults 0 0



[root@localhost ~]#
 
Old 09-27-2010, 07:07 AM   #4
Prashant19_s
LQ Newbie
 
Registered: Apr 2010
Location: Pune,India.
Distribution: Cent Os, Ubantu,Red hat.
Posts: 7

Original Poster
Rep: Reputation: 0
if both entry are made then only sata HDD gets mounted, the IDE does not get mounted.

Thanks and regards.
 
Old 09-27-2010, 07:17 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by Prashant19_s View Post
/dev/sda7 /mnt/win_ntfs ntfs defaults 0 0
/dev/sda6 /mnt/win_ntfs vfat defaults 0 0
It seems you are mounting partition on same dir.
If you want to mount two or more partition at same time, use different mount point.

create two dir dir1 and dir2 under /mnt and add entry in fstab like

Code:
/dev/sda7 /mnt/dir1 ntfs defaults 0 0
/dev/sda6 /mnt/dir2 vfat defaults 0 0

Regards,

Last edited by sem007; 09-27-2010 at 07:18 AM. Reason: typo
 
1 members found this post helpful.
Old 09-28-2010, 01:54 AM   #6
Prashant19_s
LQ Newbie
 
Registered: Apr 2010
Location: Pune,India.
Distribution: Cent Os, Ubantu,Red hat.
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Very much, It worked all drives are mounted, Now.

Thanks and regards.
 
Old 09-28-2010, 03:13 AM   #7
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Glad it works.

You are wel-come

Regards,
 
  


Reply

Tags
hda, ide, ntfs, ntfs3g, sda


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove disk space in /dev/sda8 to increase the /dev/sda7 centguy Linux - Software 16 11-27-2008 07:05 PM
ALERT! /dev/sda7 does not exist. Dropping to shell! eye2eye Ubuntu 2 07-31-2007 11:42 AM
what is /dev/hda5 lil'boomer Linux - Newbie 3 02-27-2005 08:19 AM
root=/dev/sda7 winxshadi76 Linux - Hardware 0 12-10-2004 04:25 AM
RedHat 6.2 installation: error mounting hda5 ataloss Linux - General 0 01-19-2004 07:01 AM


All times are GMT -5. The time now is 11:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration