Portál AbcLinuxu, 5. května 2025 23:21
1 list_devices: lsblk -f 2 device_info: file -s /dev/sdb3 3 open_luks_device: /sbin/cryptsetup luksOpen /dev/sdb3 wdhdd 4 identify_volume_group: /sbin/vgdisplay --short 5 list_logical_volumes: /sbin/lvs -o lv_name,lv_size -S vg_name=pc1-vg 6 activate_named_logical_volumes: /sbin/lvchange -ay pc1-vg/root 7 activate_every_logical_volume: /sbin/lvchange -ay pc1-vg 8 create_mount_folder: mkdir /media/hardisk 9 access_encrypted_file_system: mount /dev/pc1-vg/root /media/hardisk 10 detach_encrypted_file_system: umount /dev/pc1-vg/root 11 list_active_logical_volumes: /sbin/lvs -S "lv_active=active && vg_name=pc1-vg" 12 deactivate_named_logical_volume: /sbin/lvchange -an pc1-vg/root 13 deactivate_every_logical_volume: /sbin/lvchange -an pc1-vg 14 close_luks_device: /sbin/cryptsetup luksClose wdhddNevedeli byste nekdo co s tim muze byt? Kdyztak predem diky za pripadne tipy.
https://www.abclinuxu.cz/poradna/linux/show/449622
https://www.abclinuxu.cz/poradna/linux/show/449190
Mne sa niečo podobné stalo. Síce na satelitnom prijimači. Išlo o USB SATA/PATA prevodník s 3,5" SATA diskom. Prvý krát to fungovalo ale akonáhle prijimač prešiel do pohotovostného stavu, tak už ďalší pokus o pripojenie nebol možný. Povedal by som, že s touto situáciou nepočíta firmvér daného externého disku alebo USB prevodniku. Samozrejme to nemusí platiť pre všetky.
Osobne si myslím,že stav S3 robí problémy dosť často. Je jedno o aké zariadenie ide.Niektoré to jednoducho nevedia.
Nie nutne. Ale môžeš vyskúšať odpojiť disk a potom uspať. Potom zobudiť a pripojiť disk či daný disk najde.
Tiež by bolo vhodne aj pridať výpis lsusb -t
. Keďže zbernica USB je prvá časť zodpovedná za pripojenie disku. Ak po uspaní nebude prítomná elektronika externého disku, tak zrejme ide problém firmvéru v části prechodu do alebo z stavu S3.
lsusb -t (bez disku) /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 1: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M |__ Port 3: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 3: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M lsusb -t (s diskem) /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M |__ Port 2: Dev 7, If 0, Class=Mass Storage, Driver=uas, 480M |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 1: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M |__ Port 3: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 3: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M lsusb -t (s diskem pres usb3) /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 1: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M |__ Port 3: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 3: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
Takze poridit jiny?got #12
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.