xulei_928 发表于 2013-7-31 16:07:29

请教几个问题,两块硬盘的LNMP

1、我用的国内的VPS,有一个系统盘10G一个数据盘100G,一键安装LNMP的话默认数据都在系统盘里边,是不是只能通过挂载第二块硬盘到/home/wwwroot来解决?
2、# 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   IdSystem
/dev/hda1   *         1          13      104391   83Linux
/dev/hda2            14      1305    10377990   8eLinux 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   IdSystem
/dev/sda1   *         1          13      104391   83Linux
/dev/sda2            14      1305    10377990   8eLinux 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来挂载硬盘到网站空间目录,提示有“you must specify the filesystem type”指定文件类型?

4、我另外一个VPS,是0.7版本的,想要升级到1.0,是不是直接在VPS上安装LNMP就行,不用把数据下载下来再传上去?

xulei_928 发表于 2013-7-31 17:32:11

另外顺便问一下,服务器无法显示      图像(&******)因其本身有错无法显示    这种   一般会是什么原因导致的呢?

licess 发表于 2013-8-1 13:15:09

没分区吧
https://bbs.vpser.net/thread-5667-1-1.html 按教程弄

xulei_928 发表于 2013-8-1 16:29:14

回复 3# 的帖子

我另外一个VPS,是0.7版本的,想要升级到1.0,是不是直接在VPS上安装LNMP就行,不用把数据下载下来再传上去?

licess 发表于 2013-8-1 21:14:18

重新装必须备份下所有数据来
页: [1]
查看完整版本: 请教几个问题,两块硬盘的LNMP