New 64-bit Fedora Will Not Mount Similar 32-bit Filesystem

Alan Feuerbacher alanf00 at comcast.net
Sun Nov 4 20:18:37 UTC 2012


On 11/4/2012 2:20 PM, Michael D. Setzer II wrote:

That's very useful input. Here's a lot of output based on it:

##############
[root at alan-fedora ~]# cat /proc/partitions
major minor  #blocks  name

    8        0  250059096 sda
    8       16 2930266584 sdb
    8       17       1024 sdb1
    8       18     512000 sdb2
    8       19 2929752064 sdb3
    8       32 1465138584 sdc
    8       33     102400 sdc1
    8       34 1464625152 sdc2
   11        0    1048575 sr0
  253        0   18219008 dm-0
  253        1   52428800 dm-1
  253        2 2859073536 dm-2
##############

The last three lines correspond to /dev/sdb which is where the new 
64-bit Fedora is.



##############
[root at alan-fedora ~]# sfdisk -l

Disk /dev/sda: 31130 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0       -       0          0    0  Empty
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util
sfdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 364801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+ 267349- 267350- 2147483647+  ee  GPT
sfdisk: 		start: (c,h,s) expected (0,0,2) found (0,0,1)

/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty

Disk /dev/sdc: 182401 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1   *      0+     12-     13-    102400   83  Linux
/dev/sdc2         63+ 182401- 182338- 1464625152   8e  Linux LVM
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty

Disk /dev/mapper/vg_alan--fedora-lv_swap: 2268 cylinders, 255 heads, 63
sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
sfdisk:  /dev/mapper/vg_alan--fedora-lv_swap: unrecognized partition
table type

sfdisk: No partitions found


Disk /dev/mapper/vg_alan--fedora-lv_root: 6527 cylinders, 255 heads, 63
sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
sfdisk:  /dev/mapper/vg_alan--fedora-lv_root: unrecognized partition
table typesfdisk: No partitions found


Disk /dev/mapper/vg_alan--fedora-lv_root: 6527 cylinders, 255 heads, 63
sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
sfdisk:  /dev/mapper/vg_alan--fedora-lv_root: unrecognized partition
table type

sfdisk: No partitions found


Disk /dev/mapper/vg_alan--fedora-lv_home: 355938 cylinders, 255 heads,
63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
sfdisk:  /dev/mapper/vg_alan--fedora-lv_home: unrecognized partition
table type

sfdisk: No partitions found
##############

I'm not sure what to make of the above, but sfdisk says to use GNU 
parted, so:



Here's what GNU parted gives:
##############
[root at alan-fedora ~]# parted -l
Model: ATA SAMSUNG SSD 830 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End  Size  Type  File system  Flags


Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start   End     Size    File system  Name  Flags
  1      1049kB  2097kB  1049kB                     bios_grub
  2      2097kB  526MB   524MB   ext4
  3      526MB   3001GB  3000GB                     lvm


Model: ATA WDC WD15EARX-00P (scsi)
Disk /dev/sdc: 1500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
  1      1049kB  106MB   105MB   primary  ext4         boot
  2      525MB   1500GB  1500GB  primary               lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_alan--fedora-lv_home: 2928GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
  1      0.00B  2928GB  2928GB  ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_alan--fedora-lv_root: 53.7GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
  1      0.00B  53.7GB  53.7GB  ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_alan--fedora-lv_swap: 18.7GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
  1      0.00B  18.7GB  18.7GB  linux-swap(v1)
##############


Here's another command you suggested:
##############
[root at alan-fedora ~]# blkid
/dev/sdb2: UUID="f3ef71bf-f58d-4312-abcb-7dd514aab661" TYPE="ext4"
/dev/sdb3: UUID="z00IIw-k1Ie-y8Uy-9ovN-pqZz-k2GR-kDItHD"
TYPE="LVM2_member"
/dev/sdc1: UUID="1878d5d2-9135-470d-bc57-634fe7f979e8" TYPE="ext4"
/dev/mapper/vg_alan--fedora-lv_swap:
UUID="b4c7d2e0-cafd-4527-8e69-b9c883e579e9" TYPE="swap"
/dev/mapper/vg_alan--fedora-lv_root: LABEL="_Fedora-17-x86_6"
UUID="423b85c7-4a96-4699-8ff0-4a0b5c643d26" TYPE="ext4"
/dev/mapper/vg_alan--fedora-lv_home:
UUID="05aa4b62-5c63-4ee3-aa7c-f742c7d971cb" TYPE="ext4"
##############


To be complete, here's the contents of /etc/fstab:
##############
[root at alan-fedora ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sun Nov  4 05:47:26 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
info
#
/dev/mapper/vg_alan--fedora-lv_root /                       ext4
defaults        1 1
UUID=f3ef71bf-f58d-4312-abcb-7dd514aab661 /boot                   ext4
defaults        1 2
/dev/mapper/vg_alan--fedora-lv_home /home                   ext4
defaults        1 2
/dev/mapper/vg_alan--fedora-lv_swap swap                    swap
defaults        0 0
##############


And here's what mount gives:
##############
[root at alan-fedora ~]# mount -l
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
devtmpfs on /dev type devtmpfs
(rw,nosuid,seclabel,size=8051124k,nr_inodes=2012781,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
/dev/mapper/vg_alan--fedora-lv_root on / type ext4
(rw,relatime,seclabel,data=ordered) [_Fedora-17-x86_6]
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs
(rw,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
tmpfs on /media type tmpfs
(rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
/dev/sdb2 on /boot type ext4
(rw,relatime,seclabel,stripe=4,data=ordered)
/dev/mapper/vg_alan--fedora-lv_home on /home type ext4
(rw,relatime,seclabel,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfs-fuse-daemon on /run/user/alan/gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdc1 on /mnt/fedora32 type ext4
(rw,relatime,seclabel,stripe=4,data=ordered)
##############


The comments in /etc/fstab suggested looking at /dev/disk, so:
##############
[alan at alan-fedora Building]$ man findfs
[alan at alan-fedora Building]$ cd /dev/disk
[alan at alan-fedora disk]$ ls
by-id  by-label  by-partuuid  by-uuid
[alan at alan-fedora disk]$ ls -l
total 0
drwxr-xr-x. 2 root root 500 Nov  4 11:29 by-id
drwxr-xr-x. 2 root root  60 Nov  4 11:29 by-label
drwxr-xr-x. 2 root root 100 Nov  4 11:29 by-partuuid
drwxr-xr-x. 2 root root 140 Nov  4 11:29 by-uuid
[alan at alan-fedora disk]$ cd by-uuid
[alan at alan-fedora by-uuid]$ ls
05aa4b62-5c63-4ee3-aa7c-f742c7d971cb
423b85c7-4a96-4699-8ff0-4a0b5c643d26
f3ef71bf-f58d-4312-abcb-7dd514aab661
1878d5d2-9135-470d-bc57-634fe7f979e8
b4c7d2e0-cafd-4527-8e69-b9c883e579e9
[alan at alan-fedora by-uuid]$ ls -l
total 0
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
05aa4b62-5c63-4ee3-aa7c-f742c7d971cb -> ../../dm-2
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
1878d5d2-9135-470d-bc57-634fe7f979e8 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
423b85c7-4a96-4699-8ff0-4a0b5c643d26 -> ../../dm-1
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
b4c7d2e0-cafd-4527-8e69-b9c883e579e9 -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
f3ef71bf-f58d-4312-abcb-7dd514aab661 -> ../../sdb2
[alan at alan-fedora by-uuid]$ cd ../by-id
[alan at alan-fedora by-id]$ ls -l
total 0
lrwxrwxrwx. 1 root root  9 Nov  4 11:29
ata-HL-DT-ST_BD-RE_BH14NS40_8KC3T51A20_3 -> ../../sr0
lrwxrwxrwx. 1 root root  9 Nov  4 14:39
ata-SAMSUNG_SSD_830_Series_S0Z4NEAC923324 -> ../../sda
lrwxrwxrwx. 1 root root  9 Nov  4 14:39
ata-WDC_WD15EARX-00PASB0_WD-WCAZAE820424 -> ../../sdc
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
ata-WDC_WD15EARX-00PASB0_WD-WCAZAE820424-part1 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
ata-WDC_WD15EARX-00PASB0_WD-WCAZAE820424-part2 -> ../../sdc2
lrwxrwxrwx. 1 root root  9 Nov  4 14:39
ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ2754564 -> ../../sdb
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ2754564-part1 -> ../../sdb1
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ2754564-part2 -> ../../sdb2
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ2754564-part3 -> ../../sdb3
lrwxrwxrwx. 1 root root 10 Nov  4 14:39 dm-name-vg_alan--fedora-lv_home
-> ../../dm-2
lrwxrwxrwx. 1 root root 10 Nov  4 14:39 dm-name-vg_alan--fedora-lv_root
-> ../../dm-1
lrwxrwxrwx. 1 root root 10 Nov  4 14:39 dm-name-vg_alan--fedora-lv_swap
-> ../../dm-0
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
dm-uuid-LVM-kWHwWQB21WYM0ENMcjDCPfU3TMrAScH2DQUoiBbNoyp9kb29fq1N67pNLMVQa4FE 
-> ../../dm-2
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
dm-uuid-LVM-kWHwWQB21WYM0ENMcjDCPfU3TMrAScH2OjnAJ50moS9cVczfZM5rdtEMFe1xVXAC 
-> ../../dm-0
lrwxrwxrwx. 1 root root 10 Nov  4 14:39
dm-uuid-LVM-kWHwWQB21WYM0ENMcjDCPfU3TMrAScH2ZvETulE7sMVYvfz68sSl0MEOg6cLaYGh 
-> ../../dm-1
lrwxrwxrwx. 1 root root  9 Nov  4 14:39 wwn-0x50014ee2b1cbd34d
-> ../../sdc
lrwxrwxrwx. 1 root root 10 Nov  4 11:29 wwn-0x50014ee2b1cbd34d-part1
-> ../../sdc1
lrwxrwxrwx. 1 root root 10 Nov  4 11:29 wwn-0x50014ee2b1cbd34d-part2
-> ../../sdc2
lrwxrwxrwx. 1 root root  9 Nov  4 14:39 wwn-0x50014ee2b1e723eb
-> ../../sdb
lrwxrwxrwx. 1 root root 10 Nov  4 11:29 wwn-0x50014ee2b1e723eb-part1
-> ../../sdb1
lrwxrwxrwx. 1 root root 10 Nov  4 11:29 wwn-0x50014ee2b1e723eb-part2
-> ../../sdb2
lrwxrwxrwx. 1 root root 10 Nov  4 11:29 wwn-0x50014ee2b1e723eb-part3
-> ../../sdb3
lrwxrwxrwx. 1 root root  9 Nov  4 14:39 wwn-0x5002538043584d30
-> ../../sda
[alan at alan-fedora by-id]$ cd ../by-label
[alan at alan-fedora by-label]$ ls -l
total 0
lrwxrwxrwx. 1 root root 10 Nov  4 14:39 _Fedora-17-x86_6 -> ../../dm-1
[alan at alan-fedora by-label]$ cd ../by-partuuid
[alan at alan-fedora by-partuuid]$ ls -l
total 0
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
9b1a4186-705f-469d-945a-77be5834d8af -> ../../sdb3
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
b5d37f66-2567-4986-8596-6b1927c4bdd2 -> ../../sdb2
lrwxrwxrwx. 1 root root 10 Nov  4 11:29
efae6c78-9f2d-4bce-8df7-5a757a9f724e -> ../../sdb1
##############

The above clearly shows that there is SOME kind of LVM information in 
/dev/sdc, but again I don't know why the system doesn't seem to deal 
with it as I would expect.



> You might be able to mount the partition by doing something like.
> mount /dev/dm-0 /mnt/mountpoint

Given all the above information, there does not seem to be anything like 
/dev/dm-0 that corresponds to /dev/sdc. Again I'm at a loss.

> There may be an issue if both lvm partitions have the same
> names as you current systems. I don't think it will allow that, you
> have to jump thru some hops to make the names different. On my
> newer systems I don't use LVM.

I suspect you're right, but I don't know how to do any of that.

Alan




More information about the users mailing list