You are not logged in.
Pages: 1
TL;DR: you guys are fantastic! It's working now, thanks for the help.
Yes, LVM is an additional layer. But as it looks like you have not really seen any issues for many years with it, so what?
I have no problem with LVM for those who need it or gain some advantage from it, and I'm not saying that it is "bad". I'm fully aware that the sys admins I used to work with love it for good reason. But in five years I never once needed any of its features, but I'm now paying the cost of that extra complexity. That's all I'm saying.
Moving along, I have made a copy of the HDD, changed the Array UUID so I can use the copy rather than the original, and got to this point:
root@sharon:~# /sbin/mdadm --assemble --run /dev/md1 --update=uuid --uuid=c4ca5085:e2e52c3d:0527066c:5e438460 /dev/sda1
mdadm: /dev/md1 has been started with 1 drive (out of 2).
root@sharon:~# vgchange -a y
3 logical volume(s) in volume group "fedora" now active
root@sharon:~# vgscan
Found volume group "fedora" using metadata type lvm2
root@sharon:~# mount /dev/mapper/fedora-home /mnt
And now I can access the files! Thank you all again for your help!
(Dances the Dance Of Joy.)
vgchange -a y will do the job. Quote the output here please.
Thanks, will do.
I'm now working in an area well out of my comfort zone, so before I do that I'm making an exact copy of the drive using dd in case of accidents. (I know, I should have done this earlier, mea culpa. But better late than never.) Looks like it will take another 15 hours.
I should be able to get back to this about this time tomorrow.
why no mention of important information like "raid array" and "managed by lvm" in the original post?
Fair question.
Because I had set that drive up years ago and had completely forgotten how it was configured until I started seeing the output of commands. I had completely forgotten about using LVM using I saw the error message unknown filesystem type 'LVM2_member'. It was just a check box in an installer something like five years ago, and then never thought about since. (Until now.)
Don't let my ability to run lsblk on the command line fool you, I am very much a novice who knows just enough to get into trouble but not enough to get out of it again without help
(If I had known LVM is so ... complicated ... I would never have used it in the first place, but I used to work with a rockstar techie who told me "Always use LVM because it is totally awesome.")
It seems to think it is a member of a raid array, is/was it?
Yes. Furthermore, it was managed by LVM.
Brave search suggests an AI-generated answer that I don't trust but I've used it as a guide to explore further:
https://search.brave.com/search?q=unkno … 56039f2451
I've gone ahead and installed lvm and got this far:
root@sharon:/home/steve# /sbin/lvdisplay
--- Logical volume ---
LV Path /dev/fedora/root
LV Name root
VG Name fedora
LV UUID GDRkyj-RUSf-92N9-lhMX-Kld6-656Y-A66U61
LV Write Access read/write
LV Creation host, time localhost, 2021-10-05 01:43:11 +1100
LV Status NOT available
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/fedora/home
LV Name home
VG Name fedora
LV UUID zwag1C-ZZnW-Pmm8-wjae-EZPM-80E7-ko2M3w
LV Write Access read/write
LV Creation host, time localhost, 2021-10-05 01:43:17 +1100
LV Status NOT available
LV Size 164.41 GiB
Current LE 42090
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/fedora/swap
LV Name swap
VG Name fedora
LV UUID NGBkoh-d12e-JsFz-Gl4V-hHYO-spE2-9RGGup
LV Write Access read/write
LV Creation host, time localhost, 2021-10-05 01:43:34 +1100
LV Status NOT available
LV Size 7.83 GiB
Current LE 2005
Segments 1
Allocation inherit
Read ahead sectors auto
I only care about the "/dev/fedora/home" volume.
root@sharon:/home/steve# /sbin/vgs
VG #PV #LV #SN Attr VSize VFree
fedora 1 3 0 wz--n- <222.25g 0
root@sharon:/home/steve# /sbin/lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home fedora -wi------- 164.41g
root fedora -wi------- 50.00g
swap fedora -wi------- 7.83g
root@sharon:/home/steve# mount /dev/mapper/fedora-home /mnt
mount: /mnt: special device /dev/mapper/fedora-home does not exist.
dmesg(1) may have more information after failed mount system call.
So now I'm stuck again.
I installed the mdadm package and tried this:
root@sharon:/home/steve# /sbin/mdadm --assemble --run /dev/md0 /dev/sdb1
mdadm: /dev/md0 has been started with 1 drive (out of 2).
root@sharon:/home/steve# mount /dev/md0 /mnt
mount: /mnt: unknown filesystem type 'LVM2_member'.
dmesg(1) may have more information after failed mount system call.
dmesg says this:
[1052642.242707] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[1052642.242744] device-mapper: uevent: version 1.0.3
[1052642.242823] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[1052705.382556] md: md0 stopped.
[1052705.401450] md/raid1:md0: active with 1 out of 2 mirrors
[1052705.886437] md0: detected capacity change from 0 to 466087936
Running lsblk shows this entry (plus the usual ones seen earlier):
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 222.4G 0 part
└─md0 9:0 0 222.2G 0 raid1
So now I'm out of ideas.
you can mount it typing this order as root: mount /dev/sdb1 /mnt.
Nothing is ever that easy
root@sharon:/home/steve# mount /dev/sdb1 /mnt
mount: /mnt: unknown filesystem type 'linux_raid_member'.
dmesg(1) may have more information after failed mount system call.
I looked at dmesg and this seems to be the only relevant information:
[1051665.382026] usb 2-4: new SuperSpeed USB device number 7 using xhci_hcd
[1051665.403592] usb 2-4: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 1.00
[1051665.403612] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1051665.403619] usb 2-4: Product: External Disk 3.0
[1051665.403624] usb 2-4: Manufacturer: JMicron
[1051665.403628] usb 2-4: SerialNumber: 784158818BA3
[1051665.409940] scsi host2: uas
[1051665.410807] scsi 2:0:0:0: Direct-Access WDC WD20 SPZX-75UA7T0 8102 PQ: 0 ANSI: 6
[1051665.413999] sd 2:0:0:0: Attached scsi generic sg1 type 0
[1051668.840568] sd 2:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[1051668.840586] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[1051668.840830] sd 2:0:0:0: [sdb] Write Protect is off
[1051668.840844] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08
[1051668.841211] sd 2:0:0:0: [sdb] Disabling FUA
[1051668.841220] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1051668.885980] sd 2:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[1051668.885995] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[1051668.902926] sdb: sdb1
[1051668.903172] sd 2:0:0:0: [sdb] Attached SCSI disk
root@sharon:/home/steve# lsblk # before plugging in disk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 3.6T 0 disk
├─sda1 8:1 0 128M 0 part
└─sda2 8:2 0 3.6T 0 part /media/steve/TOSHIBA EXT
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 117.8G 0 part /
└─nvme0n1p3 259:3 0 977M 0 part [SWAP]
root@sharon:/home/steve# lsblk # after
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 3.6T 0 disk
├─sda1 8:1 0 128M 0 part
└─sda2 8:2 0 3.6T 0 part /media/steve/TOSHIBA EXT
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 222.4G 0 part
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 117.8G 0 part /
└─nvme0n1p3 259:3 0 977M 0 part [SWAP]
This is what I see in /var/log/syslog:
2025-01-11T22:52:16.794139+11:00 sharon kernel: [1039270.581855] usb 2-4: new SuperSpeed USB device number 6 using xhci_hcd
2025-01-11T22:52:16.813978+11:00 sharon kernel: [1039270.603369] usb 2-4: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 1.00
2025-01-11T22:52:16.814013+11:00 sharon kernel: [1039270.603389] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2025-01-11T22:52:16.814016+11:00 sharon kernel: [1039270.603396] usb 2-4: Product: External Disk 3.0
2025-01-11T22:52:16.814018+11:00 sharon kernel: [1039270.603401] usb 2-4: Manufacturer: JMicron
2025-01-11T22:52:16.814019+11:00 sharon kernel: [1039270.603405] usb 2-4: SerialNumber: 784158818BA3
2025-01-11T22:52:16.820710+11:00 sharon mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
2025-01-11T22:52:16.821016+11:00 sharon mtp-probe: bus: 2, device: 6 was not an MTP device
2025-01-11T22:52:16.822292+11:00 sharon kernel: [1039270.610067] scsi host2: uas
2025-01-11T22:52:16.822305+11:00 sharon kernel: [1039270.610555] scsi 2:0:0:0: Direct-Access WDC WD20 SPZX-75UA7T0 8102 PQ: 0 ANSI: 6
2025-01-11T22:52:16.822377+11:00 sharon dbus-daemon[1848]: [session uid=1000 pid=1846] Activating service name='org.xfce.Xfconf' requested by ':1.12' (uid=1000 pid=1928 comm="Thunar --daemon")
2025-01-11T22:52:16.825931+11:00 sharon kernel: [1039270.614653] sd 2:0:0:0: Attached scsi generic sg1 type 0
2025-01-11T22:52:16.827799+11:00 sharon mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
2025-01-11T22:52:16.828106+11:00 sharon mtp-probe: bus: 2, device: 6 was not an MTP device
2025-01-11T22:52:16.835423+11:00 sharon dbus-daemon[1848]: [session uid=1000 pid=1846] Successfully activated service 'org.xfce.Xfconf'
2025-01-11T22:52:20.198047+11:00 sharon kernel: [1039273.985911] sd 2:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
2025-01-11T22:52:20.198088+11:00 sharon kernel: [1039273.985928] sd 2:0:0:0: [sdb] 4096-byte physical blocks
2025-01-11T22:52:20.198091+11:00 sharon kernel: [1039273.986161] sd 2:0:0:0: [sdb] Write Protect is off
2025-01-11T22:52:20.198093+11:00 sharon kernel: [1039273.986168] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08
2025-01-11T22:52:20.198094+11:00 sharon kernel: [1039273.986552] sd 2:0:0:0: [sdb] Disabling FUA
2025-01-11T22:52:20.198096+11:00 sharon kernel: [1039273.986558] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2025-01-11T22:52:20.245963+11:00 sharon kernel: [1039274.033897] sd 2:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
2025-01-11T22:52:20.245998+11:00 sharon kernel: [1039274.033915] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
2025-01-11T22:52:20.269963+11:00 sharon kernel: [1039274.059022] sdb: sdb1
2025-01-11T22:52:20.269985+11:00 sharon kernel: [1039274.059221] sd 2:0:0:0: [sdb] Attached SCSI disk
I have a new installation of Daedalus, I'm trying to recover data from a HDD from my old mini-PC that cannot power up.
I've removed the drive and plugged it into a USB cradle. When I power it up, nothing mounts.
tail /var/log/user.log shows me this:
2025-01-11T21:46:23.282635+11:00 sharon mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
2025-01-11T21:46:23.283430+11:00 sharon mtp-probe: bus: 2, device: 5 was not an MTP device
2025-01-11T21:46:23.306007+11:00 sharon mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
2025-01-11T21:46:23.306936+11:00 sharon mtp-probe: bus: 2, device: 5 was not an MTP device
This HDD should be ext4 file system, holding /home from my older system. (The rest of the file system was on a SSD, I don't care about the data on that.)
What is my next step?
Thanks in advance.
Thank you everyone for your help, and Happy New Year!
The advice to use Daedalus worked perfectly. I installed the image onto a USB stick, booted, and the process was smooth as silk.
I've been using the system for about a week now, its great aside from one problem which I'll ask about in another topic.
Thank you again for your help.
Hi,
First time Devuan user here, I have some limited experience with Linux but I am out of practice, so please excuse any silly questions or errors.
Executive summary: I am trying to install Devuan Beoulf on an Asus Mini-PC that will only boot from a USB stick formatted as FAT32, please help me.
I have installed the devuan_beowulf_3.1.1_i386_netinstall.iso image onto a USB stick, and verified the SHA256 checksum is correct.
I have a Asus Mini-PC PN41 with Celeron N4500 CPU. In the BIOS, I have disabled Secure Boot:
Go to Boot/Secure Boot screen.
Set OS Type to Other OS.
Save changes.
I have also disabled the Intel Platform Trust Technology (under the Advanced PCH-FW Config screen) and made sure no passwords are set.
When I plug the USB stick in, the BIOS recognizes it as two devices. I have tried setting the boot order to the first followed by the second, and the reverse (second followed by the first). I have also tried disabling the Fast Boot option.
In all cases, when I reboot, the system goes back to the BIOS without booting from the USB stick.
The BIOS gives me the option to override the boot order and boot directly from the specified device. When I do, I get this warning:
WARNING
The Secure Boot is enabled to prevent untrusted operating systems from loading.
To launch the EFI shell, please disable the secure boot option.
but note that I have already disabled Secure Boot. The system does not boot.
The only help the reseller can give me (they can barely spell Linux) is to tell me that the USB stick must be formatted as FAT32.
On another Linux box, the USB stick auto-mounts on /dev/sdd1 (but not sdd2) and mount shows me this:
/dev/sdd1 on /run/media/stevend/Devuan 3.1 type iso9660 (ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1001,gid=1001,dmode=500,fmode=400,uhelper=udisks2)
Some additional details:
$ ls -l /dev/sdd*
brw-rw----. 1 root disk 8, 48 Dec 22 12:41 /dev/sdd
brw-rw----. 1 root disk 8, 49 Dec 22 12:41 /dev/sdd1
brw-rw----. 1 root disk 8, 50 Dec 22 12:41 /dev/sdd2
$ sudo blkid /dev/sdd*
/dev/sdd: UUID="2021-03-15-11-46-46-00" LABEL="Devuan 3.1" TYPE="iso9660" PTUUID="361c3565" PTTYPE="dos"
/dev/sdd1: UUID="2021-03-15-11-46-46-00" LABEL="Devuan 3.1" TYPE="iso9660" PTUUID="361c3565" PTTYPE="dos" PARTUUID="361c3565-01"
/dev/sdd2: SEC_TYPE="msdos" UUID="922C-067E" TYPE="vfat" PARTUUID="361c3565-02"
If I am reading this correctly, it looks like there is no FAT32 partition on this USB stick and this is why it will not boot. Is that correct?
How do I install Devuan on this PC?
Thanks in advance for any assistance you can give.
Pages: 1