用的宝塔面板,linux自动挂载工具,一直到数据迁移中,迁移过程中用了ctrl+c,导致迁移中断,现在网站打不开,查看数据盘,只显示一部分,恢复面板提示没有相关文件。
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
base | 3.7 kB 00:00
epel | 5.3 kB 00:00
epel/primary_db | 6.1 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 6.1 MB 00:00
Package wget-1.12-10.el6.x86_64 already installed and latest version
Nothing to do
--2019-09-26 18:52:44-- http://download.bt.cn/tools/auto_disk.sh
Resolving download.bt.cn... 119.147.144.34, 240e:ff:9000:1100:0:3:0:34
Connecting to download.bt.cn|119.147.144.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7725 (7.5K) [application/octet-stream]
Saving to: “auto_disk.sh”
100%[=====================================================================================================================================================>] 7,725 --.-K/s in 0.002s
2019-09-26 18:52:44 (3.15 MB/s) - “auto_disk.sh” saved [7725/7725]
+----------------------------------------------------------------------
| Bt-WebPanel Automatic disk partitioning tool
+----------------------------------------------------------------------
| Copyright © 2015-2017 BT-SOFT(http://www.bt.cn) All rights reserved.
+----------------------------------------------------------------------
| Auto mount partition disk to /www
+----------------------------------------------------------------------
Do you want to try to mount the data disk to the /www directory?(y/n): y
stop bt-service
停止宝塔服务
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
disk partition...
磁盘分区...
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x1131f5d3.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (1-140434, default 1): Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-140434, default 140434): Using default value 140434
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
3932160 inodes, 15728601 blocks
786430 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
480 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 59G 49G 7.8G 87% /
tmpfs 3.9G 28K 3.9G 1% /dev/shm
/dev/vdb1 59G 52M 56G 1% /www
move disk...
迁移数据中...
^C