2020年03月24日

Regza HDD copy / on KNOPPIX 8.6 english

http://www.4682.info/easy

knoppix@Microknoppix:~/Downloads$ cd /home/knoppix/Downloads


knoppix@Microknoppix:~/Downloads$ sudo dpkg -i regza-hdd-easy-copy-x64-1.1.deb
dpkg: error processing archive regza-hdd-easy-copy-x64-1.1.deb (--install):
package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
regza-hdd-easy-copy-x64-1.1.deb

knoppix@Microknoppix:~/Downloads$ sudo dpkg -i regza-hdd-easy-copy-1.1.deb

............ done!

MENU > Accessories > REGZA HDD Easy Copy.

... Now Processing

※結局どこで失敗したのか、わからないけど、コピー先のディスクは認識されなかった。
UUIDも複製されたんだけどねぇ。
@2020/03/24 22:51 | Comment(0) | PC環境構築奮闘記

USBブートの KNOPPIX8.6 で SWAPパーティションを追加する

USBブートの KNOPPIX 8.5 で SWAPパーティションを追加したので、適当にメモしておくね

1. System Tools > GPARTED などをつかって、任意のパーティションを切って SWAP領域としてフォーマットする。

2. sudo swapon -a で有効化する

knoppix@Microknoppix:~$ free
total used free shared buff/cache available
Mem: 32858024 1011952 222636 1029164 31623436 30500884
Swap: 0 0 0

knoppix@Microknoppix:~$ sudo swapon -a

knoppix@Microknoppix:~$ free
total used free shared buff/cache available
Mem: 32858024 995364 190340 960544 31672320 30586164
Swap: 13516796 0 13516796

既存のディスクのパーティションをいじると、WINDOWSブートに戻った時に変なことになるかもしれないですよ。(なった)
@2020/03/24 20:14 | Comment(0) | PC環境構築奮闘記

KNOPPIX 8.6 英語版で日本語入力に難儀した

http://ime.baidu.jp/type/about/onlineime.php

WEB IMEで検索したらこれを見つけた

ほぼ完璧なんだけど、{見つけた}>{Found} って最初に変換される。

@2020/03/24 16:22 | Comment(4) | 日記

xfsdump and restore / on KNOPPIX 8.6 english

http://fibrevillage.com/storage/668-xfs-copy-command-examples
https://www.atmarkit.co.jp/ait/articles/1804/26/news045.html

knoppix@Microknoppix:/$ date
Tue 24 Mar 2020 01:46:37 PM EDT

knoppix@Microknoppix:~$ sudo xfsdump -J - /media/sdb1 |sudo xfsrestore -J -p 256 - /media/sdc1

xfsrestore: using file dump (drive_simple) strategy
xfsdump: using file dump (drive_simple) strategy

xfsrestore: version 3.1.6 (dump format 3.0)
xfsdump: version 3.1.6 (dump format 3.0)

xfsdump: level 0 dump of Microknoppix:/media/sdb1
xfsdump: dump date: Tue Mar 24 13:44:54 2020
xfsdump: session id: 6a79b2d9-bd20-47fd-98fc-9345e0c3ec1a
xfsdump: session label: ""
xfsdump: ino map phase 1: constructing initial dump list
xfsdump: ino map phase 2: skipping (no pruning necessary)
xfsdump: ino map phase 3: skipping (only one dump stream)
xfsdump: ino map construction complete
xfsdump: estimated dump size: 1604803675520 bytes
xfsdump: creating dump session media file 0 (media 0, file 0)
xfsdump: dumping ino map
xfsdump: dumping directories
xfsdump: dumping non-directory files
xfsrestore: searching media for dump
xfsrestore: examining media file 0
xfsrestore: dump description:
xfsrestore: hostname: Microknoppix
xfsrestore: mount point: /media/sdb1
xfsrestore: volume: /dev/sdb1
xfsrestore: session time: Tue Mar 24 13:44:54 2020
xfsrestore: level: 0
xfsrestore: session label: ""
xfsrestore: media label: ""
xfsrestore: file system id: b87b48ac-6d33-4891-b53d-3cf53d224997
xfsrestore: session id: 6a79b2d9-bd20-47fd-98fc-9345e0c3ec1a
xfsrestore: media id: 43a183dc-0745-4b95-a44b-389fabc6f156
xfsrestore: searching media for directory dump
xfsrestore: reading directories
xfsrestore: 8 directories and 1949 entries processed
xfsrestore: directory post-processing
xfsrestore: restoring non-directory files
xfsrestore: status at 13:47:00: 8/1942 files restored, 0.5% complete, 126 seconds elapsed
xfsrestore: status at 13:48:57: 22/1942 files restored, 0.9% complete, 243 seconds elapsed
xfsrestore: status at 13:51:10: 32/1942 files restored, 1.0% complete, 376 seconds elapsed
xfsrestore: status at 13:53:04: 33/1942 files restored, 1.4% complete, 490 seconds elapsed
xfsrestore: status at 13:54:54: 38/1942 files restored, 1.8% complete, 600 seconds elapsed
xfsrestore: status at 13:56:55: 38/1942 files restored, 1.8% complete, 721 seconds elapsed

... now processing !

xfsrestore: status at 21:14:54: 1458/1942 files restored, 92.8% complete, 27000 seconds elapsed
xfsrestore: status at 21:16:54: 1478/1942 files restored, 94.3% complete, 27120 seconds elapsed
xfsrestore: status at 21:18:54: 1494/1942 files restored, 95.8% complete, 27240 seconds elapsed
xfsrestore: status at 21:20:54: 1499/1942 files restored, 96.2% complete, 27360 seconds elapsed
xfsrestore: status at 21:22:54: 1521/1942 files restored, 97.4% complete, 27480 seconds elapsed
xfsrestore: status at 21:24:54: 1530/1942 files restored, 98.6% complete, 27600 seconds elapsed
xfsrestore: status at 21:26:54: 1542/1942 files restored, 99.9% complete, 27720 seconds elapsed
xfsdump: ending media file
xfsdump: media file size 1605242145056 bytes
xfsdump: dump size (non-dir files) : 1605213975552 bytes
xfsdump: dump complete: 27786 seconds elapsed
xfsdump: Dump Status: SUCCESS
xfsrestore: restore complete: 27786 seconds elapsed
xfsrestore: Restore Status: SUCCESS

@2020/03/24 13:50 | Comment(0) | 日記

install xfsdump / on KNOPPIX 8.6 english

knoppix@Microknoppix:~$ sudo apt-get update

初期状態の KNOPPIX 8.6には そのまま 以下のインストールコマンドが使えないため、まずは上記のUpdateを実施します。
...

knoppix@Microknoppix:/media/sdc1$ sudo apt-get install xfsdump
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
quota
The following NEW packages will be installed:
xfsdump
0 upgraded, 1 newly installed, 0 to remove and 456 not upgraded.
Need to get 284 kB of archives.
After this operation, 970 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian stable/main i386 xfsdump i386 3.1.6+nmu2+b1 [284 kB]
Fetched 284 kB in 2s (147 kB/s)
Selecting previously unselected package xfsdump.
(Reading database ... 479212 files and directories currently installed.)
Preparing to unpack .../xfsdump_3.1.6+nmu2+b1_i386.deb ...
Unpacking xfsdump (3.1.6+nmu2+b1) ...
Setting up xfsdump (3.1.6+nmu2+b1) ...
Processing triggers for man-db (2.8.5-2) ...
Running prelink, please wait...

// this command also installs xfsrestore

http://www.4682.info/hdd
http://www.4682.info/repair
@2020/03/24 13:37 | Comment(0) | PC環境構築奮闘記

lsblk command memo / on KNOPPIX 8.6 english

https://www.atmarkit.co.jp/ait/articles/1802/02/news021.html

knoppix@Microknoppix:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5.5T 0 disk
├─sda1 8:1 0 16M 0 part
├─sda2 8:2 0 1.6T 0 part
├─sda3 8:3 0 293G 0 part
├─sda4 8:4 0 1.4T 0 part
└─sda5 8:5 0 97.7G 0 part
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /media/sdb1 ... from here
sdc 8:32 0 3.7T 0 disk
└─sdc1 8:33 0 2.9T 0 part /media/sdc1 ... to here
sdd 8:48 1 7.4G 0 disk
└─sdd1 8:49 1 7.4G 0 part /media/sdd1
sr0 11:0 1 1024M 0 rom
cloop0 240:0 0 9G 1 disk /KNOPPIX
cloop1 240:1 0 2.2G 1 disk /KNOPPIX1
cloop2 240:2 0 144.8M 1 disk /KNOPPIX2
zram0 253:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 499M 0 part
├─nvme0n1p2 259:2 0 99M 0 part
├─nvme0n1p3 259:3 0 16M 0 part
└─nvme0n1p4 259:4 0 465.2G 0 part
nvme1n1 259:5 0 931.5G 0 disk
├─nvme1n1p1 259:6 0 16M 0 part
└─nvme1n1p2 259:7 0 838.4G 0 part


knoppix@Microknoppix:~$ uname -r
5.2.5-64
knoppix@Microknoppix:~$ xfs_copy -V
xfs_copy version 4.20.0
knoppix@Microknoppix:~$ lsblk -fip
NAME FSTYPE FSUSE% MOUNTPOINT
/dev/sda
|-/dev/sda1
|-/dev/sda2 ntfs
|-/dev/sda3 ntfs
|-/dev/sda4 ntfs
`-/dev/sda5 ntfs
/dev/sdb
`-/dev/sdb1 xfs 80% /media/sdb1
/dev/sdc
`-/dev/sdc1 xfs 0% /media/sdc1
/dev/sdd
`-/dev/sdd1 vfat 58% /media/sdd1
/dev/sr0
/dev/cloop0 100% /KNOPPIX
/dev/cloop1 100% /KNOPPIX1
/dev/cloop2 100% /KNOPPIX2
/dev/zram0 [SWAP]
/dev/nvme0n1
|-/dev/nvme0n1p1 ntfs
|-/dev/nvme0n1p2 vfat
|-/dev/nvme0n1p3
`-/dev/nvme0n1p4 ntfs
/dev/nvme1n1
|-/dev/nvme1n1p1
`-/dev/nvme1n1p2 ntfs




knoppix@Microknoppix:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 16425532 52 16425480 1% /
/dev/sdd1 7781376 4511740 3269636 58% /mnt-system
tmpfs 26284032 477244 25806788 2% /ramdisk
/dev/cloop 9459128 9459128 0 100% /KNOPPIX
/dev/cloop1 2262876 2262876 0 100% /KNOPPIX1
/dev/cloop2 148074 148074 0 100% /KNOPPIX2
unionfs 26284032 477244 25806788 2% /UNIONFS
tmpfs 20480 3548 16932 18% /run
tmpfs 10240 4 10236 1% /UNIONFS/var/lock
tmpfs 102400 84 102316 1% /UNIONFS/var/log
tmpfs 2097152 4 2097148 1% /tmp
cgroup 12 0 12 0% /sys/fs/cgroup
udev 20480 0 20480 0% /dev
tmpfs 2097152 83040 2014112 4% /dev/shm
/dev/sdb1 1953383424 1567225516 386157908 81% /media/sdb1
/dev/sdc1 1759403776 34420 1759369356 1% /media/sdc1

knoppix@Microknoppix:~$ df -ht xfs
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 1.9T 1.5T 369G 81% /media/sdb1
/dev/sdc1 1.7T 34M 1.7T 1% /media/sdc1

... did some operations ...

knoppix@Microknoppix:~$ df -ht xfs
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 1.9T 1.5T 369G 81% /media/sdb1
/dev/sdc1 3.7T 1.5T 2.2T 41% /media/sdc1


lsblk コマンドを覚えた!!
lsblk -fip オプションも覚えた!!!
@2020/03/24 12:52 | Comment(0) | PC環境構築奮闘記

・おすすめ楽天ショップ1:trendyimpact楽天市場店
・おすすめサプリショップ:iHerb.com
・おすすめ楽天ショップ2:上海問屋
Powered by さくらのブログ