Q 用IOCTL_DISK_GET_DRIVE_GEOMETRY IOCTL_STORAGE_GET_MEDIA_TYPES_EX只能得到很少的磁盘参数,我想获得包括硬盘序列号在内的更加详细的信息,有什么办法呀?A 确实,用你所说的I/O控 制码,只能得到最基本的磁盘参数。获取磁盘出厂信息的I/O控...
分类:
其他好文 时间:
2015-02-10 13:13:01
阅读次数:
247
进入 win8 pe, 或在安装 win8 选择安装磁盘分区时按 shift+F10,都是可能用到 diskpart 去操作的时候。进入cmd后,diskpart 进入list disk--------------------列出系统拥有的磁盘select disk 0 --------------...
分类:
其他好文 时间:
2015-02-07 22:47:58
阅读次数:
289
线上job报错:Error:java.lang.RuntimeException:org.apache.hadoop.hive.ql.metadata.HiveException:java.io.FileNotFoundException:/home/vipshop/hard_disk/1/yarn/local/usercache/hdfs/appcache/application_1420458339569_0548/container_1420458339569_0548_01_000005/S..
分类:
其他好文 时间:
2015-02-07 19:07:34
阅读次数:
234
一.查看:restore filelistonly from disk='F:\Db\A_backup.bak'二.还原:RESTORE DATABASE AFROM DISK ='F:\Db\A_backup.bak' --bak文件路径with replace,MOVE 'A' TO 'D:\P...
分类:
数据库 时间:
2015-02-07 12:58:55
阅读次数:
189
安装genymotion后出现无法创建虚拟设备的解决办法
如果你安装系统的用户名中含有中文,而且使用到上篇文章所说的方法安装VirtualBox后,当你正确安装genymotion后创建虚拟机时如果出现Unable to create virtual device.Failed to attach disk.这种提示信息,原因是因为你部署虚拟设备的路径中还有中文,解决办法如下:
1、打开gen...
分类:
其他好文 时间:
2015-02-07 11:49:42
阅读次数:
155
Device Drivers->SCSI device support->SCSI disk supportDevice Drivers->USB support->Support for Host-side USBDevice Drivers->USB support->USB Mass Stor...
分类:
其他好文 时间:
2015-02-07 11:30:42
阅读次数:
91
sd.cstaticvoidsd_config_discard(structscsi_disk*,unsignedint);
staticvoidsd_config_write_same(structscsi_disk*);
staticintsd_revalidate_disk(structgendisk*);
staticvoidsd_unlock_native_capacity(structgendisk*disk);
staticintsd_probe(structdevice*);
staticin..
分类:
系统相关 时间:
2015-02-05 15:11:24
阅读次数:
266
【资料整理】磁盘-增加数据盘partedLinux系统手动格式化大于2TB数据盘操作指引
>>返回:Linux云服务器数据盘分区和格式化
1、使用fdisk–l命令,查看磁盘设备列表
fdisk–l
Disk/dev/vdb:4295.0GB
2、使用parted工具,创建GPT分区
parted/dev/vdb
(parted)mklabelgpt..
分类:
其他好文 时间:
2015-02-05 11:34:56
阅读次数:
165
【资料整理】磁盘-修改uuid删除数据盘并再度分区和格式化后,如何挂载到系统上呢?
1)得到uuid
[root@s79~]#ls-l/dev/disk/by-uuid/|grepsdb
lrwxrwxrwx1rootroot10Jul110:466e9e4443-cad6-40bd-8ccc-1798e72b2107->../../sdb1
2)更新原来的uuid
#mount–oremount,rw..
分类:
其他好文 时间:
2015-02-05 11:33:21
阅读次数:
207
sysstat工具可以监控系统的IO,CPU,SWAP,LOAD,NETWORK,DISK安装后,系统会生成定时任务脚本路径:/etc/cron.d/sysstat内容:# Run system activity accounting tool every 10 minutes*/10 * * * ...
分类:
其他好文 时间:
2015-01-31 14:19:38
阅读次数:
425