-
Junior Member
registered user
2. Yes it's save to move a file tied to a local loopback while the system is live
Originally Posted by
kl522
Actually you did not answer my question (2) directly, but from the flow of the sentences, it appears to me you are overwritting knoppix-data while you are having it mounted. Since the whole operation is surrounded on increasing the size of knoppix-data, it might be safe to perform it while having knoppix-data mounted, but personally I am not sure it will be 100% safe.
and actively using the file. Just like you can mv a running exectutable to another file of the same name, you can do this with files tied to a loopback. I think the mv will create a hard link to the new file then remove the old file. All open file descriptors will still point to the correct data blocks.
I ran this script as knoppix on my system and had no issues. Until I rebooted, the kernel still sees knoppix-data.bak content exactly as it was when it was before the mv.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell Poweredge R620 2x E5-2680 2.7ghz 16-Cores / 128gb / H710 / 2x Trays / 750w
$199.99
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G
$240.00
Dell PowerEdge R330 Xeon E3-1220 v5 3.0GHz 32gb H330 2x 3.5" Trays SVR 2012
$189.99
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
Dell PowerEdge R730 2xE5-2660V3 2.6Ghz 20Core 128GB RAM H730 2xSFP+2xRJ45 2x750W
$349.99
DELL POWEREDGE R730xd 12LFF 2x 8 CORE E5-2620V4 2.1GHz 32GB RAM NO HDD
$264.00
Dell PowerEdge R610 0YPDP1 | 64 GB Memory | 2 x X5670 | 6 Trays | NO HDD
$45.95
DELL PowerEdge R730 Server 2x E5-2695v4 128GB RAM H730 4xRJ45 36 Cores x2 1100W
$699.99
Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT
$490.00
Dell PowerEdge R630 Server 2x E5-2690v4 2.60Ghz 28-Core 128GB H730 Rails
$634.45