LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-09-2009, 08:41 PM   #1
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Rep: Reputation: 15
ipod (read only file system)


hi guys,
i am getting a problem with my ipod.

I have reformated my ipod in order to have an hfsplus without journaling file system. The ipod has been working fine since May 2009 (for 3 months) and i have al my music there, but now gtkpod reports problems when trying to transfer files to the ipod.

From root i have checked it and it suposse to be a RW file system:

Code:
mount
/dev/sdc2 on /media/iPod type hfsplus (rw,nosuid,nodev,uhelper=hal)
however, when i try to write into the ipod, it looks like a read-only filesystem:

Code:
chmod 777 /media/iPod/
chmod: changing permissions of `/media/iPod/': Read-only file system
i wonder how it happened?

any ideas ?

thanks in advance,

Hector

pd. i have fedora 10.
 
Old 08-09-2009, 09:51 PM   #2
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Original Poster
Rep: Reputation: 15
hi guys,

it looks like the Filesystem was not cleanly unmounted:

Code:
dmesg | tail -n 25
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb 1-8: New USB device found, idVendor=05ac, idProduct=1261
usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-8: Product: iPod
usb 1-8: Manufacturer: Apple Inc.
usb 1-8: SerialNumber: 000A2700139D1935
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access     Apple    iPod             1.62 PQ: 0 ANSI: 0
sd 10:0:0:0: [sdc] 29255991 4096-byte hardware sectors (119833 MB)
sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 68 00 00 08
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sd 10:0:0:0: [sdc] 29255991 4096-byte hardware sectors (119833 MB)
sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 68 00 00 08
sd 10:0:0:0: [sdc] Assuming drive cache: write through
 sdc: [mac] sdc1 sdc2
sd 10:0:0:0: [sdc] Attached SCSI removable disk
sd 10:0:0:0: Attached scsi generic sg3 type 0
hfs: Filesystem was not cleanly unmounted, running fsck.hfsplus is recommended.  mounting read-only.
SELinux: initialized (dev sdc2, type hfsplus), uses genfs_contexts
hfs: Filesystem was not cleanly unmounted, running fsck.hfsplus is recommended.  mounting read-only.
SELinux: initialized (dev sdc2, type hfsplus), uses genfs_contexts

how can i make an fsck.hfsplus?

best regards,

Hector
 
Old 08-09-2009, 10:22 PM   #3
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Original Poster
Rep: Reputation: 15
Code:
fsck.hfsplus -pd /dev/sdc2
/dev/sdc2: starting
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
hfs_swap_HFSPlusBTInternalNode: catalog key #13 invalid length (0)
   Invalid key length
(4, 60)
** Volume check failed.
volume check failed with error 7 
	volume type is pure HFS+ 
	primary MDB is at block 0 0x00 
	alternate MDB is at block 0 0x00 
	primary VHB is at block 2 0x02 
	alternate VHB is at block 234047294 0xdf3473e 
	sector size = 512 0x200 
	VolumeObject flags = 0x07 
	total sectors for volume = 234047296 0xdf34740 
	total sectors for embedded volume = 0 0x00
any ideas?

hector
 
Old 08-09-2009, 10:40 PM   #4
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Original Poster
Rep: Reputation: 15
ok guys,
it looks it was repared :-(
thanks ...

Code:
 

fsck.hfsplus -rd /dev/sdc2
** /dev/sdc2
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Rebuilding Catalog B-tree.
hfs_UNswap_BTNode: invalid node height (1)
hfs_swap_HFSPlusBTInternalNode: catalog key #13 invalid length (0)
   Invalid key length
(4, 60)
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
   Missing thread record (id = 39)
   Incorrect number of thread records
(4, 198)
** Checking Catalog hierarchy.
   Invalid directory item count
   (It should be 63 instead of 72)
   Missing thread record (id = 39)
   Invalid directory item count
   (It should be 68 instead of 77)
** Checking volume bitmap.
   Volume Bit Map needs minor repair
** Checking volume information.
   Invalid volume free block count
   (It should be 19897713 instead of 29246825)
	invalid VHB nextCatalogID 
   Volume Header needs minor repair
(2, 0)
   Verify Status: VIStat = 0xa000, ABTStat = 0x0000 EBTStat = 0x0000
                  CBTStat = 0x0800 CatStat = 0x4200
** Repairing volume.
	FixOrphanedFiles: Deleted thread record for id=181 (err=0)
	FixOrphanedFiles: Deleted thread record for id=740 (err=0)
	FixOrphanedFiles: Deleted thread record for id=1060 (err=0)
	FixOrphanedFiles: Deleted thread record for id=1090 (err=0)
	FixOrphanedFiles: Deleted thread record for id=1572 (err=0)
	FixOrphanedFiles: Deleted thread record for id=1801 (err=0)
	FixOrphanedFiles: Deleted thread record for id=2082 (err=0)
	FixOrphanedFiles: Deleted thread record for id=2388 (err=0)
	FixOrphanedFiles: Deleted thread record for id=2533 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3054 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3123 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3192 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3276 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3673 (err=0)
	FixOrphanedFiles: Deleted thread record for id=3952 (err=0)
	FixOrphanedFiles: Deleted thread record for id=4002 (err=0)
	FixOrphanedFiles: Deleted thread record for id=4184 (err=0)
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
** The volume iPod was repaired successfully.
 
  


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
read-only file system error when editing a config file smallfrowne Linux - Newbie 5 02-19-2008 07:06 PM
Read Only File System? Can't read superblock! haughjd Linux - Software 4 01-15-2008 09:27 AM
web server (fedora core 5) became read-only file system after i upload a file nggs8411 Linux - Server 1 03-26-2007 10:23 AM
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM


All times are GMT -5. The time now is 03:25 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