blkid command does not always display SEC_TYPE="ext2" for an ext3 filesystem
Issue
- Result of blkid command and /etc/blkid/blkid.tab indicate TYPE="ext3" SEC_TYPE="ext2" as /boot (/dev/sda1).
- We understand that it is usually outputted like this if mounting with ext2 or umounting. In this case, however, it is mounted with ext3. Could you please investigate why it is outputted like this?
# blkid
/dev/mapper/VolGroup00-LogVol00: TYPE="swap"
/dev/mapper/VolGroup00-LogVol01: UUID="77cce7ec-291d-4b67-bd8d-491ca158daa8" TYPE="ext3"
/dev/sr0: LABEL="RHEL/5.8 x86_64 DVD" TYPE="iso9660"
/dev/sda4: UUID="40D3-6012" TYPE="vfat"
/dev/sda1: LABEL="/boot" UUID="8a0a4069-2bbd-488a-bcf5-92b0c45f600b" TYPE="ext3" SEC_TYPE="ext2" <== Here
/dev/VolGroup00/LogVol01: UUID="77cce7ec-291d-4b67-bd8d-491ca158daa8" TYPE="ext3"
/dev/VolGroup00/LogVol00: TYPE="swap"
/dev/cdrom: LABEL="RHEL/5.8 x86_64 DVD" TYPE="iso9660"
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0 devpts /dev/pts devpts rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0 <== Mounted with ext3
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 /etc/auto.misc /misc autofs rw,fd=7,pgrp=7523,timeout=300,minproto=5,maxproto=5,indirect 0 0 -hosts /net autofs rw,fd=13,pgrp=7523,timeout=300,minproto=5,maxproto=5,indirect 0 0
- Actual results:
blkid command reports as follows.
# blkid
/dev/sda1: LABEL="/boot" UUID="8a0a4069-2bbd-488a-bcf5-92b0c45f600b" TYPE="ext3" SEC_TYPE="ext2"
- Expected results:
blkid command reports as follows.
# blkid
/dev/sda1: LABEL="/boot" UUID="8a0a4069-2bbd-488a-bcf5-92b0c45f600b" TYPE="ext3"
Environment
- Red Hat Enterprise Linux 5.8
- e2fsprogs-1.39-33.el5.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.