Am 03.03.20 um 01:21 schrieb Michael Hamilton:
On Tuesday 03 March 2020, Michael Hamilton wrote:
On Tuesday 03 March 2020, Daniel Bauer wrote:
I just inserted a new hard disk (6TB) in my Desktop-Computer and made a new encrypted partition using Yast.
Now ext4lazyint runs and runs and runs...
I read it is a background process that has to do with inodes. My questions are:
- can I already use that disk (exactly to rsync 3TB of data to it) or must/should I wait until ext4lazyinit has terminated?
Sorry, my first answer was a bit terse.
Yes, it's OK to use the file system. it's just that some inodes will have non null data in them, which could cause problems if the file system ever needs repair. The healthy file system knows which inodes are in use, so it won't be a problem unless damage occurs some time before ext4lazyinit completes.
I copied approx. 3TB of data to that disk and it seemed to work. I don't know what to do with the inodes-thing to make sure the data survives a power shutdown, for example.
- can I shut down the computer while this is still running? Or shouldn't I?
I couldn't find a clear answer on this - I assume it will continue the process at next boot or mount. I decided to resolve it before rebooting.
Meanwhile I shot it down and booted again. ext4lazyinit isn't running anymore.
Remount the disk init_itable=0
mount -t ext4 -o remount,init_itable=0,defaults,noauto,noatime,acl,user_xattr /dev/whatever /mnt/whatever
(Providing you don't mind the init IO dominating the device)
I don't know - ho to do this with an encrypted partition? - if I should do that now since there is already a lot of data on the disk? This is what Yast partininer tells me about that partition (german) Gerät: Gerät: /dev/sdc1 Größe: 5.46 TiB Verschlüsselt: Ja Gerätepfad: pci-0000:00:1f.5-ata-1-part1 Geräte-ID 1: ata-WDC_WD60EFAX-68SHWN0_WD-WX21D39PL5S0-part1 Geräte-ID 2: scsi-0ATA_WDC_WD60EFAX-68S_WD-WX21D39PL5S0-part1 Geräte-ID 3: scsi-1ATA_WDC_WD60EFAX-68SHWN0_WD-WX21D39PL5S0-part1 Geräte-ID 4: scsi-350014ee2113516c9-part1 Geräte-ID 5: scsi-SATA_WDC_WD60EFAX-68S_WD-WX21D39PL5S0-part1 Geräte-ID 6: wwn-0x50014ee2113516c9-part1 Partitions-ID: Linux Native Dateisystem: Dateisystem: Ext4 Mountpoint: /home/daniel/fotos Label: -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org