- 积分
- 22
- 威望
-
- 金钱
-
- 注册时间
- 2010-1-11
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
1、我用的国内的VPS,有一个系统盘10G 一个数据盘100G,一键安装LNMP的话默认数据都在系统盘里边,是不是只能通过挂载第二块硬盘到/home/wwwroot来解决?
2、[root@localhost ~]# fdisk -l
Disk /dev/hda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1305 10377990 8e Linux LVM
Disk /dev/hdb: 96.6 GB, 96636764160 bytes
255 heads, 63 sectors/track, 11748 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdb doesn't contain a valid partition table
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1305 10377990 8e Linux LVM
Disk /dev/sdb: 96.6 GB, 96636764160 bytes
255 heads, 63 sectors/track, 11748 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
出来的结果:“Disk /dev/hdb doesn't contain a valid partition table” 有什么影响该怎么解决呢?
3、我直接运行mount /dev/sdb /home/wwwroot 来挂载硬盘到网站空间目录,提示有“[size=-1]you must specify the filesystem type” 指定文件类型?
4、我另外一个VPS,是0.7版本的,想要升级到1.0,是不是直接在VPS上安装LNMP就行,不用把数据下载下来再传上去? |
|