Re: [Bug 106782] Re: checkfs fsck command options don't work with fsck.jfs at boot

2007-10-20 Thread Jeremy Boden
Robert,

I went through your suggestions - and /etc/blkid.tab was definitely wrong.
I've since run the blkid command to rebuild this file since it is described
as a cache file.
However, references to /dev/mapper (which was removed) would indicate that
it isn't actually rebuilt.
I think porttions of evms (libraries anyway) still lurk on my system - I
going to remove them when I move up to Gutsy.

So I ran (heart in mouth):-

sudo blkid -c /dev/null -w /etc/blkid.tab

This looked OK (at least there were no /dev/mapper entries...

I did a fsck reboot to see what happened - OK.
I have done several reboots (recovery/normal) in every case - it now
works!
Looking at the blkid.tab, it's not quite right :-
It shows me as having a sdb8 reiserfs partion - I don't have any such
partition
It also shows sda3 (the extended partition) as being reiserfs.
However, because it works, I shall let sleeping dogs lie...

For your entertainment I've attached blkid.tab (the current one) and
blkid.tab.old (the cause of the trouble).

Thankyou for all your help - those nasty error messages are all gone now.
I've also got some great bash scripts to decode in the future.

Regards,
Jeremy


On 19/10/2007, rwcitek [EMAIL PROTECTED] wrote:

 BTW, the google group thread is here:

 http://groups.google.com/group/linuxusersgroup/browse_thread/thread/f1a93555fdf0da3f


 The error could be in a number of places: fsck, blkid,
 fsck.{jfs,reiserfs}, some place else.

 Some things to try with example code:

 - look at  /etc/rcS.d/S30checkfs.sh
   lexx -iX /etc/rcS.d/S30checkfs.sh

 - run an strace on fsck
   strace fsck -C -R -A -a  /tmp/fsck.trace.txt

 - query UUIDs using blkid:
   awk '/UUID/ {print $1}' /etc/fstab | xargs -n 1 blkid -t

 - run fsck.* using UUID
   awk '/UUID/  /ext3/ {print $1}' /etc/fstab | xargs -n 1 fsck.ext3

 - look at /etc/blkid.tab for UUID entries
   cat /etc/blkid.tab

 Regards,
 - Robert

 --
 checkfs  fsck command options don't work with fsck.jfs at boot
 https://bugs.launchpad.net/bugs/106782
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
checkfs  fsck command options don't work with fsck.jfs at boot
https://bugs.launchpad.net/bugs/106782
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 106782] Re: checkfs fsck command options don't work with fsck.jfs at boot

2007-10-19 Thread rwcitek
BTW, the google group thread is here:

http://groups.google.com/group/linuxusersgroup/browse_thread/thread/f1a93555fdf0da3f

The error could be in a number of places: fsck, blkid,
fsck.{jfs,reiserfs}, some place else.

Some things to try with example code:

- look at  /etc/rcS.d/S30checkfs.sh 
  lexx -iX /etc/rcS.d/S30checkfs.sh

- run an strace on fsck
  strace fsck -C -R -A -a  /tmp/fsck.trace.txt

- query UUIDs using blkid:
  awk '/UUID/ {print $1}' /etc/fstab | xargs -n 1 blkid -t

- run fsck.* using UUID
  awk '/UUID/  /ext3/ {print $1}' /etc/fstab | xargs -n 1 fsck.ext3

- look at /etc/blkid.tab for UUID entries
  cat /etc/blkid.tab

Regards,
- Robert

-- 
checkfs  fsck command options don't work with fsck.jfs at boot
https://bugs.launchpad.net/bugs/106782
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 106782] Re: checkfs fsck command options don't work with fsck.jfs at boot

2007-10-19 Thread Jeremy Boden
Confirmed:- I only get limited log.
I have two ReiserFS file systems; these are the only two to fail
Log of fsck -C -R -A -a 
Fri Oct 19 14:23:31 2007

fsck 1.40-WIP (14-Nov-2006)
/dev/sda6: clean, 189331/1537088 files, 1444187/3070415 blocks
/dev/sda7: clean, 13006/513024 files, 304562/1024135 blocks
/dev/sdb2: clean, 471/6406144 files, 6593617/12799788 blocks
Failed to open the device 'UUID=feb26ef0-be8e-49ac-8fbe-2c443549c553': No such 
file or directory


/dev/sdb1: clean, 41/526320 files, 153744/1052226 blocks
Failed to open the device 'UUID=7b3d8e1c-2080-4016-a672-1b2fed6ce7c8': No such 
file or directory


fsck died with exit status 8

Fri Oct 19 14:23:31 2007


Please note that these partitions are mounted correctly.
This issue is discussed at length by Robert Citek in the topic  Feisty Ubuntu: 
The UUID problem in the google group Linux Users Group

I include the results of running:-
true ; (
sudo echo -n
set -x
cat /etc/issue.net
uname -va
blkid  -v
cat /etc/fstab
sudo fdisk -l
for i in $(awk 'NR 1  $2  0 {print /dev/ $4}' /proc/partitions) ; do
 echo $i
 sudo blkid $i
done
)  output.txt 

output.txt=
+ cat /etc/issue.net
Ubuntu 7.04
+ uname -va
Linux HECTOR 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64 
GNU/Linux
+ blkid -v
blkid 1.0.0 (12-Feb-2003)
+ cat /etc/fstab
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
# /dev/sdb5 -- converted during upgrade to edgy
UUID=233565b8-f1c9-412d-add7-848988ee52d3 / ext3 defaults,errors=remount-ro 0 1 
# OK
# /dev/sda2 -- converted during upgrade to edgy
UUID=064f1127-b29f-4146-8ffd-181c4ac9f1ee /backup ext3 defaults 0 2 
# OK
# /dev/sda3 -- converted during upgrade to edgy
UUID=feb26ef0-be8e-49ac-8fbe-2c443549c553 /filestore reiserfs defaults 0 2  
# ?
# /dev/sda1 -- converted during upgrade to edgy
UUID=403d16ca-ce7b-44f4-bcb3-87654deb5466 /boot ext3 defaults 0 2   
# OK
# /dev/sdb8 -- converted during upgrade to edgy
UUID=7b3d8e1c-2080-4016-a672-1b2fed6ce7c8 /home reiserfs defaults 0 2   
# ?
# /dev/sdb6 -- converted during upgrade to edgy
UUID=247b2017-4636-40c5-8c7d-82721dd0caf5 /usr ext3 defaults 0 2
# OK
# /dev/sdb7 -- converted during upgrade to edgy
UUID=2ff24943-33a8-43e9-97da-73982cf8845b /var ext3 defaults 0 2
# OK
# /dev/sdb2 -- converted during upgrade to edgy
UUID=936ee5a4-2f4f-48c6-ba36-894426deb357 none swap sw 0 0  
# ?

### /dev/sda1   /media/disk ext3 rw,noexec,nosuid,nodev,noauto  0   0
/dev/cdrom  /media/cdrom0   udf,iso9660 user,noauto 0   0
+ sudo fdisk -l

Disk /dev/sda: 73.4 GB, 73407865856 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda2 132 164  265072+  82  Linux swap / Solaris
/dev/sda3 1658924703647005  Extended
/dev/sda5 165 674 4096543+  83  Linux
/dev/sda6 675220312281661   83  Linux
/dev/sda722042713 4096543+  83  Linux
/dev/sda82714892449889826   83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1 131 1052226   83  Linux
/dev/sdb2 132650551199155   83  Linux
/dev/sdb36506   30401   191944620   83  Linux
++ awk 'NR 1  $2  0 {print /dev/ $4}' /proc/partitions
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda2
/dev/sda2
+ sudo blkid /dev/sda2
/dev/sda2: TYPE=swap UUID=936ee5a4-2f4f-48c6-ba36-894426deb357 
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda3
/dev/sda3
+ sudo blkid /dev/sda3
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda5
/dev/sda5
+ sudo blkid /dev/sda5
/dev/sda5: UUID=233565b8-f1c9-412d-add7-848988ee52d3 SEC_TYPE=ext2 
TYPE=ext3 
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda6
/dev/sda6
+ sudo blkid /dev/sda6
/dev/sda6: UUID=247b2017-4636-40c5-8c7d-82721dd0caf5 SEC_TYPE=ext2 
TYPE=ext3 
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda7
/dev/sda7
+ sudo blkid /dev/sda7
/dev/sda7: UUID=2ff24943-33a8-43e9-97da-73982cf8845b SEC_TYPE=ext2 
TYPE=ext3 
+ for i in '$(awk '\''NR 1  $2  0 {print /dev/ $4}'\'' /proc/partitions)'
+ echo /dev/sda8
/dev/sda8
+ sudo blkid /dev/sda8
/dev/sda8: UUID=7b3d8e1c-2080-4016-a672-1b2fed6ce7c8 TYPE=reiserfs 
+ for i in '$(awk '\''NR 1  $2  0