Terminálový textový editor GNU nano byl vydán ve verzi 9.0. Vylepšuje chování horizontálního posouvání pohledu na dlouhé řádky a chování některých klávesových zkratek. Více v seznamu změn.
Ministerstvo financí ve spolupráci s finanční správou dnes představilo beta verzi aplikace využívající umělou inteligenci pro předvyplnění daňového přiznání. Není třeba přepisovat údaje z různých potvrzení, ani hledat správné řádky, kam údaje napsat. Stačí nahrát dokumenty a využít AI.
Výrobce počítačových periferií Keychron zveřejnil repozitář se schématy šasi klávesnic a myší. Licence je restriktivní, zakazuje většinu komerčních užití a v podstatě jsou tak data vhodná pouze pro výukové účely, hlášení a opravy chyb, případně výrobu vlastního příslušenství.
Správce balíčků APT, používaný v Debianu a odvozených distribucích, byl vydán ve verzi 3.2 (seznam změn). Mezi novinkami figurují nové příkazy pro práci s historií, včetně vracení transakcí.
Společnost Anthropic oznámila Projekt Glasswing a s ní související AI model Claude Mythos Preview. Jedná se o iniciativu zaměřenou na kybernetickou bezpečnost, do které se zapojily velké technologické společnosti Amazon Web Services, Anthropic, Apple, Broadcom, Cisco, CrowdStrike, Google, JPMorganChase, Linux Foundation, Microsoft, NVIDIA a Palo Alto Networks. Anthropic věří, že nový AI model Claude Mythos Preview dokáže
… více »Firma Ojective Development vydala svůj nástroj pro monitorování a řízení odchozích síťových připojení Little Snitch i pro operační systém Linux. Linuxová verze se skládá ze tří komponent: eBPF program pro zachytávání provozu a webové rozhraní jsou uvolněny pod GNU GPLv2 a dostupné na GitHubu (převážně Rust a JavaScript), jádro backendu je proprietární pod vlastní licencí, nicméně zdarma k použití a redistribuci (cena přitom normálně … více »
Vojenské zpravodajství (VZ) se v březnu zapojilo do mezinárodní operace proti aktivitám hackerské skupiny APT28, která je spojovaná s ruskou vojenskou zpravodajskou službou GRU a která přes slabě zabezpečené routery prováděla kybernetické útoky na státní a další organizace v ČR i zahraničí. Operaci vedl americký Federální úřad pro vyšetřování (FBI) a jejím cílem bylo odebrat útočníkům přístup k napadeným zařízením a ty následně … více »
Tvůrcem nejpopulárnější kryptoměny bitcoin, který se skrývá za pseudonymem Satoši Nakamoto (Satoshi Nakamoto), je britský kryptograf Adam Back. Na základě vlastní investigativní práce to tvrdí americký deník The New York Times (NYT). Několik indicií podle autorů jasně ukazuje na to, že Back a Nakamoto jsou stejný člověk. Jde mimo jiné o podobný odborný a osobnostní profil či totožné chyby a manýry v psaném projevu.
Google Chrome 147 byl prohlášen za stabilní. Nejnovější stabilní verze 147.0.7727.55 přináší řadu novinek z hlediska uživatelů i vývojářů. Podrobný přehled v poznámkách k vydání. Vylepšeny byly také nástroje pro vývojáře. Přehled novinek v Chrome DevTools 145 až 147 také na YouTube.
Vývojáři z Laboratoří CZ.NIC vydali nové verze aplikací Datovka (Datovka 4.29.0, Mobilní Datovka 2.6.2). V případě desktopové verze přibyly možnosti projít všechny uložené zprávy, zkontrolovat časy expirací časových razítek a přerazítkovat datové zprávy, které lze v ISDS přerazítkovat. Novinkou je také možnost vytahovat myší ze seznamu ZFO soubory datových zpráv, tento úkon jde udělat i pomocí tlačítek Ctrl+C. Nová verze Mobilní Datovky přináší jen drobné úpravy.
Personalities : [raid1]
md1 : active (auto-read-only) raid1 sda2[0] sdb2[1]
7914484 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
480466808 blocks super 1.2 [2/2] [UU]
[=============>.......] resync = 66.7% (320831360/480466808) finish=96.6min speed=27538K/sec
Dobrý, nechal jsem to být.
Pak jsem ale potřeboval na třetí disk (samba) a nedostal jsem se. Koukám, není namountovaný, při pokusu píše
root@vmware:~# mount -a mount: /dev/sdc1 is not a block devicetak zkouším fdisk
Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d151f Device Boot Start End Blocks Id System /dev/sdb1 1 59816 480467968 fd Linux raid autodetect /dev/sdb2 59816 60802 7916544 fd Linux raid autodetect WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc: 3000.6 GB, 3000591900160 bytes 255 heads, 63 sectors/track, 364801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 267350 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/sda: 500.1 GB, 500106780160 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c8e40 Device Boot Start End Blocks Id System /dev/sda1 1 59816 480467968 fd Linux raid autodetect /dev/sda2 59816 60802 7915520 fd Linux raid autodetect Disk /dev/md0: 492.0 GB, 491998011392 bytes 2 heads, 4 sectors/track, 120116702 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/md1: 8104 MB, 8104431616 bytes 2 heads, 4 sectors/track, 1978621 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md1 doesn't contain a valid partition tableA pozastavil jsem se u
Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d151f Device Boot Start End Blocks Id System /dev/sdb1 1 59816 480467968 fd Linux raid autodetect /dev/sdb2 59816 60802 7916544 fd Linux raid autodetect WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc: 3000.6 GB, 3000591900160 bytes 255 heads, 63 sectors/track, 364801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 267350 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/sda: 500.1 GB, 500106780160 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c8e40 Device Boot Start End Blocks Id System /dev/sda1 1 59816 480467968 fd Linux raid autodetect /dev/sda2 59816 60802 7915520 fd Linux raid autodetect Disk /dev/md0: 492.0 GB, 491998011392 bytes 2 heads, 4 sectors/track, 120116702 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/md1: 8104 MB, 8104431616 bytes 2 heads, 4 sectors/track, 1978621 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md1 doesn't contain a valid partition tablecož je problematika dnešního večera a nevím, jak to vyřešit. Pžiznám se, že nevím jak jsem před X lety disk přidával, jelikož se jedná o 3TB a fdiskem se mi to nejpíš nepodařilo a možná jsem to dělal partedem tak nevím jestli fdisk nepsal to samé. Nicméně nic se nemění na tom, že disk s oddílem nemohu namountovat. Nejedná se o systémový disk. Ale na druhou stranu o datový (uložiště) tak se mi s tím nechtějí dělat psí kusy a data pokud možno zachovat, ale jsem v koncích, proto můj vyčerpávající post.... Nějaký nápad ? Děkuji.
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
(parted) print Error: Nepřípustný argument during seek for read on /dev/sdc Retry/Ignore/Cancel?A mě trápí, že ho nemůžu připojit a dělá to takovéto problémy, které nevím jak vyřešit.
root@vmware:~# hdparm -N /dev/sdc /dev/sdc: max sectors = 5860531055/5860533168, HPA is enableda při ignoraci u parted
Error: Nepřípustný argument during seek for read on /dev/sdc
Retry/Ignore/Cancel? i
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? ok
Backtrace has 10 calls on stack:
10: /lib/libparted.so.0(ped_assert+0x31) [0x7fd183383351]
9: /lib/libparted.so.0(+0x444c1) [0x7fd1833b44c1]
8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7fd18338a505]
7: parted() [0x4070de]
6: parted() [0x407e4d]
5: parted() [0x409e6f]
4: parted() [0x40b06f]
3: parted(main+0x2c) [0x40b17c]
2: /lib/libc.so.6(__libc_start_main+0xfd) [0x7fd182ba2c8d]
1: parted() [0x405709]
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (2.3)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Assertion (last_usable <= disk->dev->length) at
../../../libparted/labels/gpt.c:718 in function _parse_header() failed.
Neúspěšně ukončen (SIGABRT)
Zeptám se, jak je možné, že disk se zmenšil ? Může to být následek vypnutí natvrdo ?
Nikde nemohu najít něco, co by mě nakoplo správným směrem, jako oprava/úprava disku, bez ztráty dat.
root@vmware:/tmp# gdisk GPT fdisk (gdisk) version 0.8.1 Type device filename, or press Enter to exit: /dev/sdc Warning! Disk size is smaller than the main header indicates! Loading secondary header from the last sector of the disk! You should use 'v' to verify disk integrity, and perhaps options on the experts' menu to repair the disk. Caution: invalid backup GPT header, but valid main header; regenerating backup header from main header. Warning! One or more CRCs don't match. You should repair the disk! Partition table scan: MBR: protective BSD: not present APM: not present GPT: damaged **************************************************************************** Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk verification and recovery are STRONGLY recommended. ****************************************************************************Čili, tabulka GPT je poškozena, otázka je, jak jí opravit, za předpokladu beze ztráty dat.
hdparm -N p5860533168 /dev/sdc
pokud se to povede, tak místo
root@vmware:~# hdparm -N /dev/sdc
/dev/sdc:
max sectors = 5860531055/5860533168, HPA is enabled
bude
root@vmware:~# hdparm -N /dev/sdc
/dev/sdc:
max sectors = 5860533168/5860533168, HPA is disabled
pak můžete zkusit opravit záložní GPT a pokusit se ověřit, že nedošlo k nějakým poškozením dat (máte-li jak...)
pokud však budete zbytečně šťourat do partišn a filesystémů, tak si to nejspíš opravdu rozbijete a o data můžete přijít definitivně...
root@vmware:~# gdisk /dev/sdc
GPT fdisk (gdisk) version 0.8.1
Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): v
Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.
Problem: The secondary header's self-pointer indicates that it doesn't reside
at the end of the disk. If you've added a disk to a RAID array, use the 'e'
option on the experts' menu to adjust the secondary header's and partition
table's locations.
Problem: Disk is too small to hold all the data!
(Disk size is 5860531055 sectors, needs to be 5860533168 sectors.)
The 'e' option on the experts' menu may fix this problem.
Problem: partition 1 is too big for the disk.
Identified 4 problems!
Command (? for help): ?
b back up GPT data to a file
c change a partition's name
d delete a partition
i show detailed information on a partition
l list known partition types
n add a new partition
o create a new empty GUID partition table (GPT)
p print the partition table
q quit without saving changes
r recovery and transformation options (experts only)
s sort partitions
t change a partition's type code
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu
Command (? for help): r
Recovery/transformation command (? for help): ?
b use backup GPT header (rebuilding main)
c load backup partition table from disk (rebuilding main)
d use main GPT header (rebuilding backup)
e load main partition table from disk (rebuilding backup)
f load MBR and build fresh GPT from it
g convert GPT into MBR and exit
h make hybrid MBR
i show detailed information on a partition
l load partition data from a backup file
m return to main menu
o print protective MBR data
p print the partition table
q quit without saving changes
t transform BSD disklabel partition
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu
Recovery/transformation command (? for help): e
Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N): y
Recovery/transformation command (? for help): v
Problem: The secondary header's self-pointer indicates that it doesn't reside
at the end of the disk. If you've added a disk to a RAID array, use the 'e'
option on the experts' menu to adjust the secondary header's and partition
table's locations.
Problem: Disk is too small to hold all the data!
(Disk size is 5860531055 sectors, needs to be 5860533168 sectors.)
The 'e' option on the experts' menu may fix this problem.
Problem: partition 1 is too big for the disk.
Identified 3 problems!
Recovery/transformation command (? for help): m
Command (? for help): r
Recovery/transformation command (? for help): m
Command (? for help): x
Expert command (? for help): r
Recovery/transformation command (? for help): m
Command (? for help): ?
b back up GPT data to a file
c change a partition's name
d delete a partition
i show detailed information on a partition
l list known partition types
n add a new partition
o create a new empty GUID partition table (GPT)
p print the partition table
q quit without saving changes
r recovery and transformation options (experts only)
s sort partitions
t change a partition's type code
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu
Command (? for help): x
Expert command (? for help): ?
a set attributes
c change partition GUID
d display the sector alignment value
e relocate backup data structures to the end of the disk
g change disk GUID
h recompute CHS values in protective/hybrid MBR
i show detailed information on a partition
l set the sector alignment value
m return to main menu
n create a new protective MBR
o print protective MBR data
p print the partition table
q quit without saving changes
r recovery and transformation options (experts only)
s resize partition table
t transpose two partition table entries
u Replicate partition table on new device
v verify disk
w write table to disk and exit
z zap (destroy) GPT data structures and exit
? print this menu
Expert command (? for help): e
Relocating backup data structures to the end of the disk
Expert command (? for help): m
Command (? for help): v
Problem: partition 1 is too big for the disk.
Warning! Secondary partition table overlaps the last partition by
1202 blocks!
You will need to delete this partition or resize it in another utility.
Identified 2 problems!
Command (? for help): p
Disk /dev/sdc: 5860531055 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): E1C0702F-0FA7-40D6-BB18-6396A9319DAA
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860531021
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 5860532223 2.7 TiB 0700 primary
Command (? for help): d
Using 1
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-5860531021, default = 34) or {+-}size{KMGTP}: 2048
Last sector (2048-5860531021, default = 5860531021) or {+-}size{KMGTP}: +2650MB
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 0700
Changed type of partition to 'Microsoft basic data'
Command (? for help): v
No problems found. 5855103788 free sectors (2.7 TiB) available in 2
segments, the largest of which is 5855101774 (2.7 TiB) in size.
Command (? for help): p
Disk /dev/sdc: 5860531055 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): E1C0702F-0FA7-40D6-BB18-6396A9319DAA
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860531021
Partitions will be aligned on 2048-sector boundaries
Total free space is 5855103788 sectors (2.7 TiB)
Number Start (sector) End (sector) Size Code Name
1 2048 5429247 2.6 GiB 0700 Microsoft basic data
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT).
Warning! An error was reported when writing the partition table! This error
MIGHT be harmless, but you may have trashed the disk!
Command (? for help):
A prostě to skončí tím, že jsem si mohl po.... disk a konec. Nevím už.
Tiskni
Sdílej: