| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-22-2005, 09:30 PM
|
#1
|
|
Member
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99
Rep:
|
USB hard disk read only
Hi
I have an external usb hard disk. I used it with Mandrake 10.0. I could read and write into it. Now I installed Mandriva 2006 Powerpack and the disk gets mounted automatically and seems a lot faster than Mandrake 10.0 but I can't write to the disk nor can I delete anything from it. I checked the controlcenter and it is not mounted as readonly and I checked the fstab and when the usb hard disk is connected the fstab file is as follows.
/dev/hda3 / ext3 noatime 1 1
/dev/hda4 /home ext3 noatime 1 2
/dev/hdc /mnt/cdrom 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/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/sda1 /mnt/removable vfat pamconsole,exec,noauto,codepage=850,iocharset=iso8859-1,managed 0 0
When the hard disk is removed, the fstab file is as follows.
/dev/hda3 / ext3 noatime 1 1
/dev/hda4 /home ext3 noatime 1 2
/dev/hdc /mnt/cdrom 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/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
Why does Mandriva 2006 has a problem which Mandrake 10.0 did not have?
Does anybody know how to fix this problem?
Thanks
Neranjana
|
|
|
|
11-22-2005, 09:49 PM
|
#2
|
|
Member
Registered: Oct 2005
Distribution: mandriva
Posts: 106
Rep:
|
I'm pretty sure if you add "rw" to the appropriate line in fstab, you'll be home free:
/dev/sda1 /mnt/removable vfat pamconsole,exec,noauto,codepage=850,iocharset=iso8859-1,managed 0 0
make it this: /dev/sda1 /mnt/removable vfat pamconsole,exec,noauto,codepage=850,iocharset=iso8859-1,managed,rw 0 0
for the record, here's mine:
/dev/sdb1 /mnt/external auto umask=0,iocharset=iso8859-1,codepage=850,rw,users 0 0
hope this helps!
|
|
|
|
11-22-2005, 10:45 PM
|
#3
|
|
Member
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99
Original Poster
Rep:
|
Hi
Thanks for the reply. But it didn't work. The line corresponding to the drive is automatically added to the fstab when the device is connected and the next time it is connected the rw is gone.
Any other tip?
Thanks
Neranjana
|
|
|
|
11-23-2005, 02:58 AM
|
#4
|
|
Member
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99
Original Poster
Rep:
|
When I checked the /var/log/messages file the following was found
Nov 23 15:50:48 neranjana kernel: usb 3-2: new high speed USB device using ehci_hcd and address 15
Nov 23 15:50:48 neranjana kernel: scsi12 : SCSI emulation for USB Mass Storage devices
Nov 23 15:50:48 neranjana udev[13857]: run_program: exec of program failed
Nov 23 15:50:53 neranjana kernel: Vendor: SAMSUNG Model: MP0603H Rev: UD10
Nov 23 15:50:53 neranjana kernel: Type: Direct-Access ANSI SCSI revision: 00
Nov 23 15:50:53 neranjana kernel: SCSI device sda: 117304992 512-byte hdwr sectors (60060 MB)
Nov 23 15:50:53 neranjana kernel: sda: assuming drive cache: write through
Nov 23 15:50:53 neranjana kernel: SCSI device sda: 117304992 512-byte hdwr sectors (60060 MB)
Nov 23 15:50:53 neranjana kernel: sda: assuming drive cache: write through
Nov 23 15:50:53 neranjana kernel: /dev/scsi/host12/bus0/target0/lun0: p1
Nov 23 15:50:53 neranjana kernel: Attached scsi disk sda at scsi12, channel 0, id 0, lun 0
Nov 23 15:50:53 neranjana kernel: Attached scsi generic sg0 at scsi12, channel 0, id 0, lun 0, type 0
Nov 23 15:50:53 neranjana pam_console.dev[13894]: Restoring console permissions for /dev/sda /dev/discs/disc1/disc /dev/scsi/host12/bus0/target0/lun0/disc
Nov 23 15:50:53 neranjana pam_console.dev[13905]: Restoring console permissions for /dev/sg0 /dev/scsi/host12/bus0/target0/lun0/generic
Nov 23 15:50:53 neranjana pam_console.dev[13928]: Restoring console permissions for /dev/sda1 /dev/discs/disc1/part1 /dev/scsi/host12/bus0/target0/lun0/part1
Nov 23 15:50:54 neranjana fstab-sync[13936]: added mount point /mnt/removable for /dev/sda1
Nov 23 15:52:44 neranjana kernel: FAT: Filesystem panic (dev sda1)
Nov 23 15:52:44 neranjana kernel: invalid access to FAT (entry 0x00000001)
Nov 23 15:52:44 neranjana kernel: File system has been set read-only
Is this something wrong with my disk or with Mandriva 2006? The same disk works fine on windows, Mandrake 10.0. And flash disks also work fine on this Mandriva 2006. Any suggestions?
Thanks
Neranjana
|
|
|
|
11-23-2005, 03:29 AM
|
#5
|
|
Member
Registered: Jul 2005
Distribution: Mint 14 64bit
Posts: 66
Rep:
|
he line is automatically added to your fstab because of the presence of the option
managed
remove it the first time you connect the drive and it will stay there forever, ready for the next plug-in.
|
|
|
|
11-23-2005, 04:22 AM
|
#6
|
|
Member
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99
Original Poster
Rep:
|
Yes. You are right. When I removed managed, the line stayed there. But still even if I add rw in the fstab, the device is mounted readonly. The log shows the error
Nov 23 17:19:35 neranjana kernel: FAT: Filesystem panic (dev sda1)
Nov 23 17:19:35 neranjana kernel: invalid access to FAT (entry 0x00000001)
Nov 23 17:19:35 neranjana kernel: File system has been set read-only
Could this be a problem with the disk, Mandriva or something else? It works on Mandrake 10.0.
Thanks
Neranjana
|
|
|
|
11-23-2005, 04:25 AM
|
#7
|
|
Member
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99
Original Poster
Rep:
|
Another thing, the size of the disk is 60 GB and there is only one partition. Windows can't even format this partition because windows does not support FAT partitions larger than 40 GB. I used Mandrake 10.0 to format this. Could it be that Mandriva also does not support FAT partitions larger than 40GB now? It did in previous versions.
Thanks
Neranjana
|
|
|
|
11-24-2005, 02:48 AM
|
#8
|
|
Member
Registered: Jul 2005
Distribution: Mint 14 64bit
Posts: 66
Rep:
|
I'm using a big external HD too (2 partitions of 60GB once) but, unfortunately I'm not able to check it within 2-3days, my laptop is under doctor attentions.
I'll check it when I'll have it back.
Sorry.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|