LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2005, 02:46 PM   #1
kvnband
Member
 
Registered: Jan 2004
Distribution: Suse 10.2
Posts: 107

Rep: Reputation: 15
Hard Drive Mounting Problem


Won't Mount Second Hard Drive!
Ok, background information here:

I installed Mandriva 2006 yesterday, and spent today getting everything working. At the start, I had a 160GB HD used for storage (NTFS) and my C drive (NTFS). Of course, this meant that Mandrake couldn't write to either (I am constantly updating the contents of my storage drive, so I needed write access). So, I split the partition 75GB/75GB. I formatted the second half of the drive and made it ext3. Then I moved the contents of the NTFS partition to the ext3 and then formatted the NTFS part as ext3. So now the whole drive is formatted as ext3. Upon reboot, both partitions are loaded, along with my C drive...GREAT! Now I try to combine the two partitions, but start coming into problems. I move the data from the second half of the drive to the first half, format the second half and resize the first half to take up the whole Storage drive. So now hdb has one partition, hdb1. Files are stored correctly, accessible and writable. Everything seems to be good. I umount -a and then mount -a to attempt to remount all the drives. And I get nothing. the console says that they were mounted successfully, but upon looking in the Devices area, only my C drive is showing (hda1). Weird. So I do a mount /dev/hdb1 /mnt/win_c2 Mount tells me that 'special device hdb1 does not exist'. WEIRD. I open up DiskDrake and it says that hdb1 is mounted. Unmount, remount (via DiskDrake) and the drive is still not showing up in my devices area. Have I royally f*cked things here or what? My fstab is as follows:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
 /dev/hda5 / ext3 defaults 1 1 
/dev/hda7 /home ext3 defaults 1 2 
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 
none /mnt/floppy supermount 
dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,rw 0 0 
/dev/hdb1 /mnt/win_c2 ext3 umask=0,nls=iso8859-1,rw 0 0 
none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0

For now, I am accessing the files by going to /mnt/win_c2 and they are there and accessible. What does that mean?

Urgently awaiting help
Thanks
Kevin
UPDATE: If I go to 'Storage Media' instead of Devices, my hard drive is listed there. GREAT! However, upon viewing its properties, I am told that the disk is only 75 GB. Opening up DiskDrake, I am told that the drive is made up of one huge partition, totalling around 155GB (which is indeed how large it should be). What is the deal here?

Last edited by kvnband; 12-26-2005 at 02:47 PM.
 
Old 12-27-2005, 02:51 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,983

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
This:

Quote:
/dev/hdb1 /mnt/win_c2 ext3 umask=0,nls=iso8859-1,rw 0 0
is not right. Those options you are passing are for ntfs or vfat filesystems. Try changing it to:

/dev/hdb1 /mnt/win_c2 ext3 defaults 1 2

To give everyone read/write access mount hdb1 and run:

# chmod -R 1777 /mnt/win_c2

The hdb1 partition must be mounted when you run the above for the permission change to work.
 
Old 12-27-2005, 03:02 PM   #3
kvnband
Member
 
Registered: Jan 2004
Distribution: Suse 10.2
Posts: 107

Original Poster
Rep: Reputation: 15
I knew I had forgotten something when i edited the fstab. I have found out why the drive does not show up in the devices section. Apparently, in KDE, the devices section lists all devices that aren't linux native. Since I have it formatted as ext3, it doesn't show up there, but does show up in the media section. I still have the problem of the drive not showing the correct size. I unmounted and remounted (after fstab changes) and it is still showing that the drive is only 72 gigs. Parted shows the full disk partition at its correct size (150ish gigs). I suppose I could move all my files to my home directory, format the storage drive and move the files back...Ugh.

Any ideas here?
Kevin
 
  


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 second hard drive BCBruce Linux - Hardware 4 12-19-2005 09:51 AM
problem mounting second hard drive irvken Fedora 8 06-09-2005 10:42 PM
Problem mounting USB hard drive kernelbuster Linux - Enterprise 0 02-14-2005 04:36 PM
Mounting a Hard Drive Bill413 Linux - Newbie 6 11-15-2004 05:19 PM
Mounting hard drive Runt888 Linux - Newbie 1 08-29-2001 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:43 AM.

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
Open Source Consulting | Domain Registration