Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-065+lvm2: /home unexpectedly read-only, fsck on reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ARealNoobOne
n00b
n00b


Joined: 13 Feb 2005
Posts: 59

PostPosted: Wed Aug 03, 2005 5:39 pm    Post subject: udev-065+lvm2: /home unexpectedly read-only, fsck on reboot Reply with quote

Second time I update udev on a LVM2 system with layout:

/dev/sda1 /boot ext2 noauto,noatime 1 1
/dev/sda3 / ext3 noatime,commit=60 0 2
/dev/vg/usr /usr ext3 noatime,commit=60 0 3
/dev/vg/var /var ext3 noatime,commit=60 0 4
/dev/vg/tmp /tmp ext3 noatime,commit=60 0 5
/dev/vg/home /home ext3 noatime,commit=60 0 8

(Removed entries for other scsi and sata disks)

My /home partition becomed unexpectedly read-only, still 'mount' say rw but no file can be created anymore.

Other volumes and partitions OK.

On reboot must do a manual fsck.ext3 because the list of errors to fix is huge (arrgh! /home... hope my backup is not too old)

Hopefully all fixes succeeded and no data was lost...

Already had this when upgrading to udev-064. Next time I hope I'll remember to unmount my /home before udev upgrade.

Dunno why only /home is affected, may be it's pure bad luck.
Back to top
View user's profile Send private message
MaDxRaY
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2004
Posts: 106
Location: central europe

PostPosted: Fri Aug 12, 2005 1:01 pm    Post subject: Reply with quote

Hi, got same problem when copiing (dd if=/dev/hd* of=/dev/sd*) ide partitions to equal sata parition (hdds have same size, just ata and sata).
Partitions are:
/usr
/home
/universe (fat32->ntfs)
/mnt/winc (ntfs->ntfs)

while /usr is writeable as root, it's unpossible for everyone to write to my new /home.
Mount reflects /home as rw but every attempt to write results in: read-only file system.
Both NTFS partitions are writeable as normeal user (set uid=1000,gid=100)

Code:

#mount
/dev/sda3 on /usr type ext3 (rw,nosuid,nodev)
/dev/sda5 on /home type ext3 (rw,nosuid,nodev)
...

Code:

root@linux#touch /home/test
touch: cannot touch '/home/test': Read-only file system

touching test to /usr/test and also mkdir is possible!?!?!!!

I'm confused.
did you got an solution for your problem?
let me participate, thx
T.C.
_________________
greetz
Ray
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum