bump
Type: Posts; User: afrodeity; Keyword(s):
So I had a Gigabyte SSD part of an LVM, it is the second SSD.
It is only four months old and still under warranty.
It suddenly showed up as SATAFIRM S11.
The LVM won't boot.
However I am...
:popcorn: Okay, so if anyone happens to stumble upon this thread, here is the outcome. I replaced the cable twice, three times. It was still kicking up the problem. Then I moved the Second SSD to...
sudo smartctl -a -d ata /dev/sdb
[sudo] password for afropunk:
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-53-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke,...
Its been a week since I installed the new SSD (sdb) ata4
I now have a sleep resume issue:
logs
ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x50000 action 0x6 frozen
ata4: SError: {...
Checking progress before waiting every 600 seconds.
/dev/sdb1: Moved: 0.01%
/dev/sdb1: Moved: 100.00%
Polling finished successfully.
sudo vgreduce ubuntu-vg /dev/sdb1
Removed...
ubuntu@ubuntu:~$ sudo e2fsck -f /dev/mapper/ubuntu--vg-root
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory...
Now to remove the 30Gb volume on /dev/sdb1
sudo resize2fs -p /dev/mapper/ubuntu--vg-root 325G
resize2fs 1.45.5 (07-Jan-2020)
Filesystem at /dev/mapper/ubuntu--vg-root is mounted on /;...
So I bought a new gigabyte ssd 120GB at a reasonable price.
then:
sudo pvcreate /dev/sdc1
WARNING: ext4 signature detected on /dev/sdc1 at offset 1080. Wipe it? [y/n]: y
Wiping ext4...
sudo smartctl -a /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-52-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF...
I have an ssd which I added to an LVM, after some difficulty, see this thread here.
my system log is reporting
blk_update_request: I/O error, dev sdb, sector 54214696 op 0x3:(DISCARD) flags...
Ah Fu, but of course, that's what I omitted both times, thank you.:popcorn:
Just an update at how I resolved the problem, it appears that due to eyestrain, I had neglected a crucial step lvmextend, and then had gone back instead of forward.
So after doing the above, I...
As you can see /dev/sdb1 is 29G ssd. When I expanded the root file system, it didn't add as an expansion of the main file system, but rather, it extended my swap.
I can try to expand again so that...
This is what it looks like now after lvreduce. Would appreciate advice on what my options are. Not sure now what I did wrong per my first post, but yes, its possibly lack of a man page, modifier.
...
sudo lvreduce -L 223.57G /dev/mapper/ubuntu--vg-root
Rounding size to boundary between physical extents: 223.57 GiB.
WARNING: Reducing active and open logical volume to 223.57 GiB.
THIS MAY...
sudo pvdisplay /dev/ubuntu-vg
Failed to find device for physical volume "/dev/ubuntu-vg"
doesn't display the physical disks that form the ubuntu-vg lvm group,
nor does this:
sudo...
I I make sure the disk is unmounted:
umount /dev/sdb1
umount: /dev/sdb1: not mounted.
sudo vgreduce ubuntu-vg /dev/sdb1
Physical volume "/dev/sdb1" still in use
If I comment out my swap in /etc/fstab
reboot and attempt to turn swapoff, the command fails:
sudo swapoff ubuntu--vg-swap_1
swapoff: ubuntu--vg-swap_1: swapoff failed: Invalid argument
I...
If I lsblk
sda 8:0 0 223.6G 0 disk
└─sda1 8:1 0 223.6G 0 part
├─ubuntu--vg-root
│ 253:0 0 252.2G 0 lvm /
└─ubuntu--vg-swap_1
...
same problem here, any fix?
then
sudo aptitude install linux-tools-4.15.0-101-generic
followed by apt install -f
no more problems it seems
cd /
chown root.root
as in this example
then
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-101-generic:
sudo aptitude install libudev-dev
sudo aptitude install linux-tools-4.15.0-101-generic
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of...
Upgraded my 32bit backup machine last night. Took a look this morning, and its got some weird dependency errors:
sudo apt install -f
Reading package lists... Done
Building dependency tree ...