- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试在基于 Hyper-V Gen1 的虚拟机中的 Windows Server 2012 R2 上安装 Ubuntu 12.04.5 服务器(64 位)。安装将随机挂起,dmesg
最终显示如下错误:
sd 2:0:0:0: rejecting I/O to offline device
我有一个非常相似的虚拟机,一直运行良好。两个系统上的 dmesg
输出在启动后大约 126 秒时首先出现分歧(尽管这可能是因为它是安装程序启动,而不是标准启动):
[ 126.482972] NTFS driver 2.1.30 [Flags: R/O MODULE].
xor: measuring software checksum speed
prefetch64-sse: 16009.000 MB/sec
generic_sse: 15008.000 MB/sec
xor: using function: prefetch64-sse (16009.000 MB/sec)
raid6: sse2x1 9322 MB/s
raid6: sse2x2 11511 MB/s
raid6: sse2x4 13061 MB/s
raid6: using algorithm sse2x4 (13061 M/s)
raid6: using intx recovery algorithm
bio: create slab <bio-1> at 1
Btrfs loaded
JFS: nTxBlock = 7892, nTxLock = 63140
SGI XFS with ACLs, security attributes, realtime, large block/inode, numbers, no debug enabled
EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (sda1): INFO: recovery required on readonly filesystem
EXT4-fs (sda1): write access unavailable, cannot proceed
EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[ 127.334559] EXT4-fs (sda1): write access unavailable, cannot proceed
一段时间后,
[ 182.830804] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 230.779000] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0xa
(repeated x times...)
[ 241.151746] hv_storvsc vmbus_0_1: cmd 0x3 scsi status 0x2 srb status 0x8
(also repeated x times)
[ 251.155963] hv_storvsc vmbus_0_1: cmd 0x0 scsi status 0x2 srb status 0x8
[ 251.155973] sd 2:0:0:0: Device offlined - not ready after error recovery
(repeated x times again)
[ 251.155987] sd 2:0:0:0: [sda] Unhandled error code
[ 251.155988] sd 2:0:0:0: [sda]
[ 251.155989] Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 251.155991] sd 2:0:0:0: [sda] CDB:
[ 251.155992] Write(10): 2a 00 04 c1 09 00 00 00 08 00
[ 251.155996] end_request: I/O error, dev sda, sector 79759616
[ 251.155999] Buffer I/O error on device sda1, logical block 9969696
[ 251.156000] lost page write due to I/O error on sda1
[ 251.156011] sd 2:0:0:0: rejecting I/O to offline device
最终渗透到 EXT4 驱动程序。对于 EXT3,会出现类似的错误消息,但驱动程序从未调用它退出,因此安装只是挂起。
注意事项:
类似的事情似乎发生在 Windows Azure-based (cloud) VMs 上.链接页面建议您停止并启动 VM,这意味着将其移动到不同的主机。
This thread提到当底层磁盘返回错误时,Hyper-V 将停止 I/O,并且这种停止会导致奇怪的行为。
This thread建议它特定于将 storvsc
驱动程序与 ext4 文件系统一起使用,不支持 SCSI WRITE_SAME
命令。这将被 checkin Linux 内核 3.9-rc1,并且肯定包含在 Ubuntu 12.04.5 附带的 Linux 3.13 内核中。
最佳答案
事实证明,主机 Hyper-V 服务器的磁盘空间不足。
由于之间存在多个间接级别:
各个级别实际填满并将错误传递到下一个级别需要一些时间。最终表明该问题的是另一台 VM 提示磁盘空间不足(但仅在完成约 4 GB 的 Ubuntu 安装后!)。
我更换了其中一个磁盘(500 GB => 4 TB),并将其添加到存储池中,这让一切都恢复正常。然后我用一些 PowerShell commands 重建了磁盘池(Windows Server 用户界面无法正常工作):
Get-PhysicalDisk
$missingDisk = Get-PhysicalDisk | Where-Object { $_.OperationalStatus -eq 'Lost Communication' }
$missingDisk | Set-PhysicalDisk -Usage Retired
Repair-VirtualDisk –FriendlyName <VolumeName>
关于linux - 在 Hyper-V 上安装 Ubuntu 时,磁盘变为只读,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27830812/
SQLite、Content provider 和 Shared Preference 之间的所有已知区别。 但我想知道什么时候需要根据情况使用 SQLite 或 Content Provider 或
警告:我正在使用一个我无法完全控制的后端,所以我正在努力解决 Backbone 中的一些注意事项,这些注意事项可能在其他地方更好地解决......不幸的是,我别无选择,只能在这里处理它们! 所以,我的
我一整天都在挣扎。我的预输入搜索表达式与远程 json 数据完美配合。但是当我尝试使用相同的 json 数据作为预取数据时,建议为空。点击第一个标志后,我收到预定义消息“无法找到任何内容...”,结果
我正在制作一个模拟 NHL 选秀彩票的程序,其中屏幕右侧应该有一个 JTextField,并且在左侧绘制弹跳的选秀球。我创建了一个名为 Ball 的类,它实现了 Runnable,并在我的主 Draf
这个问题已经有答案了: How can I calculate a time span in Java and format the output? (18 个回答) 已关闭 9 年前。 这是我的代码
我有一个 ASP.NET Web API 应用程序在我的本地 IIS 实例上运行。 Web 应用程序配置有 CORS。我调用的 Web API 方法类似于: [POST("/API/{foo}/{ba
我将用户输入的时间和日期作为: DatePicker dp = (DatePicker) findViewById(R.id.datePicker); TimePicker tp = (TimePic
放宽“邻居”的标准是否足够,或者是否有其他标准行动可以采取? 最佳答案 如果所有相邻解决方案都是 Tabu,则听起来您的 Tabu 列表的大小太长或您的释放策略太严格。一个好的 Tabu 列表长度是
我正在阅读来自 cppreference 的代码示例: #include #include #include #include template void print_queue(T& q)
我快疯了,我试图理解工具提示的行为,但没有成功。 1. 第一个问题是当我尝试通过插件(按钮 1)在点击事件中使用它时 -> 如果您转到 Fiddle,您会在“内容”内看到该函数' 每次点击都会调用该属
我在功能组件中有以下代码: const [ folder, setFolder ] = useState([]); const folderData = useContext(FolderContex
我在使用预签名网址和 AFNetworking 3.0 从 S3 获取图像时遇到问题。我可以使用 NSMutableURLRequest 和 NSURLSession 获取图像,但是当我使用 AFHT
我正在使用 Oracle ojdbc 12 和 Java 8 处理 Oracle UCP 管理器的问题。当 UCP 池启动失败时,我希望关闭它创建的连接。 当池初始化期间遇到 ORA-02391:超过
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 9 年前。 Improve
引用这个plunker: https://plnkr.co/edit/GWsbdDWVvBYNMqyxzlLY?p=preview 我在 styles.css 文件和 src/app.ts 文件中指定
为什么我的条形这么细?我尝试将宽度设置为 1,它们变得非常厚。我不知道还能尝试什么。默认厚度为 0.8,这是应该的样子吗? import matplotlib.pyplot as plt import
当我编写时,查询按预期执行: SELECT id, day2.count - day1.count AS diff FROM day1 NATURAL JOIN day2; 但我真正想要的是右连接。当
我有以下时间数据: 0 08/01/16 13:07:46,335437 1 18/02/16 08:40:40,565575 2 14/01/16 22:2
一些背景知识 -我的 NodeJS 服务器在端口 3001 上运行,我的 React 应用程序在端口 3000 上运行。我在 React 应用程序 package.json 中设置了一个代理来代理对端
我面临着一个愚蠢的问题。我试图在我的 Angular 应用程序中延迟加载我的图像,我已经尝试过这个2: 但是他们都设置了 src attr 而不是 data-src,我在这里遗漏了什么吗?保留 d
我是一名优秀的程序员,十分优秀!