首页 文章 精选 留言 我的

精选列表

搜索[磁盘],共10004篇文章
优秀的个人博客,低调大师

openstack kvm 虚拟机磁盘差异衍生

1, openstack虚拟实例备份之--多镜像格式多镜像文件合并为一个镜像文件衍生-差异镜像文件 /var/lib/nova/instances/b0abc22f-1a73-4079-b1bc-2aa28f43b952/disk衍生基本镜像文件 /var/lib/nova/instances/_base/cc90d7cc302c711271e6376cda329df089781c76qemu-img convert -c 衍生-差异镜像文件 衍生基本镜像文件 -O qcow2 one.qcow2;上传合并的镜像文件到镜像服务器glance image-create --name "one-hebin" --file yige.qcow2 --disk-format qcow2 --container-format bare --visibility public --progress2,使用nova image-create from server-虚拟实例nova image-create server-id new-img-Name

优秀的个人博客,低调大师

Clonezilla Live 2.8.0 发布,磁盘镜像/克隆工具

Clonezilla Live 是一个小型的可启动 GNU/Linux 发行版,适用于基于 x86/amd64 的计算机。Clonezilla Live 可以使用 CD/DVD 或 USB 闪存对单个计算机进行镜像或克隆。Clonezilla Live 的主要优势是不需要提前设置 DRBL 服务器,也不需要被部署的计算机从网络上启动。 自 2.7.3-19 版本以来的增强和改变包括: 底层的 GNU/Linux 操作系统得到了升级,该版本基于 Debian Sid 仓库。 Linux 内核更新至 5.14.6-3。 Partclone 更新至 0.3.18。 软件包 ezio 更新至 1.2.0。 语言文件 de_DE、hu_HU、es_ES、fr_FR、ja_JP、pl_PL、sk_SK、tr_TR 已更新。 改进了 ocs-live-netcfg 程序。 抑制了关于 "setterm -blank 0 "的错误信息。 增加缓存机制,以加快设备扫描的速度。 允许在 TUI 中使用保留的镜像名称,在 TUI 中显示关于保留镜像名称的描述。 BUG 修复 在 recovery-iso-zip 模式下缺少选项 "-j2"。 Beginner 模式的保存菜单中没有显示 "-z9p"。 函数 get_not_busy_disks_or_parts:修复了一个 bug,它不能处理带有 /dev/mapper 的 dev。 不能从启动参数中搜索 live-media-path。 更多详情可查看:https://sourceforge.net/p/clonezilla/news/2021/11/stable-clonezilla-live-280-27-released-/

优秀的个人博客,低调大师

Linux磁盘分区、格式化、挂载、卸载

[root@CORPSE2010/]# fdisk -l Disk /dev/sda: 322.1 GB, 322122547200 bytes 255 heads, 63 sectors/track, 39162 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00097ff5 Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 26 28072 225280000 83 Linux /dev/sda3 28072 32152 32768000 82 Linux swap / Solaris /dev/sda4 32152 39163 56318976 5 Extended /dev/sda5 32152 33427 10240000 83 Linux /dev/sda6 33427 34702 10240000 83 Linux /dev/sda7 34702 35976 10240000 83 Linux /dev/sda8 35977 39163 25594880 83 Linux Disk/dev/sdb:32.2 GB, 32212254720 bytes ----------未挂载的 64 heads, 32 sectors/track, 30720 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 [root@CORPSE2010:WEIHU]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x810d5e15. 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):m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help):n Command action e extended p primary partition (1-4) 1 Invalid partition number for type `1' Command action e extended p primary partition (1-4) p Partition number (1-4):1 First cylinder (1-30720, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-30720, default 30720): Using default value 30720 Command (m for help):p Disk /dev/sdb: 32.2 GB, 32212254720 bytes 64 heads, 32 sectors/track, 30720 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x810d5e15 Device Boot Start End Blocks Id System /dev/sdb1 1 30720 31457264 83 Linux ---ext4分区,ID为83 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@CORPSE2010:WEIHU]#partprobe /dev/sdb [root@CORPSE2010:WEIHU]#mkfs -V -t ext4 -c /dev/sdb1 mkfs (util-linux-ng 2.17.2) mkfs.ext4 -c /dev/sdb1 mke2fs 1.41.12 (17-May-2010) 鏂囦欢绯荤粺鏍囩= 鎿嶄綔绯荤粺:Linux 鍧楀ぇ灏4096 (log=2) 鍒嗗潡澶у皬=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1966080 inodes, 7864316 blocks 393215 blocks (5.00%) reserved for the super user 绗竴涓暟鎹潡=0 Maximum filesystem blocks=4294967296 240 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 Checking for bad blocks (read-only test): 瀹屾垚 姝e湪鍐欏叆inode琛 瀹屾垚 Creating journal (32768 blocks): 瀹屾垚 Writing superblocks and filesystem accounting information: 瀹屾垚 This filesystem will be automatically checked every 32 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@CORPSE2010:WEIHU]#mkdir /mnt/sdb1 [root@CORPSE2010:WEIHU]#mount /dev/sdb1 /mnt/sdb1 [root@CORPSE2010:WEIHU]# df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/sda5 ext4 9.5G 5.7G 3.4G 64% / tmpfs tmpfs 16G 72K 16G 1% /dev/shm /dev/sda1 ext4 190M 34M 146M 19% /boot /dev/sda8 ext4 24G 44M 23G 1% /data /dev/sda2 ext4 212G 4.0G 197G 2% /home /dev/sda6 ext4 9.5G 576M 8.5G 7% /opt /dev/sda7 ext4 9.5G 227M 8.8G 3% /var /dev/sdb1 ext4 30G 44M 28G 1% /mnt/sdb1 [root@CORPSE2010:WEIHU]# more /etc/fstab # # /etc/fstab # Created by anaconda on Fri May 8 17:04:47 2015 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=4fc3c61c-35d0-420b-b6d7-f64e5024e564 / ext4 defaults 1 1 UUID=978a98e0-7c14-4dd4-94cb-8c4c98652b00 /boot ext4 defaults 1 2 UUID=11f6d932-e0c2-4484-bd2e-ab001c736581 /data ext4 defaults 1 2 UUID=77a86bb0-335e-49b4-9be7-5fcb568b04b2 /home ext4 defaults 1 2 UUID=b5a201c2-8b44-4194-96fa-adebe93c9a9f /opt ext4 defaults 1 2 UUID=f4734300-3968-4560-8f1d-9f9b4ef51ea7 /var ext4 defaults 1 2 UUID=79805c84-9a35-47fd-b439-6300cf1a48c6 swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 [root@CORPSE2010:WEIHU]# df -lh Filesystem Size Used Avail Use% Mounted on /dev/sda5 9.5G 5.7G 3.4G 64% / tmpfs 16G 72K 16G 1% /dev/shm /dev/sda1 190M 34M 146M 19% /boot /dev/sda8 24G 44M 23G 1% /data /dev/sda2 212G 4.0G 197G 2% /home /dev/sda6 9.5G 576M 8.5G 7% /opt /dev/sda7 9.5G 227M 8.8G 3% /var /dev/sdb1 30G 44M 28G 1% /mnt/sdb1 [root@CORPSE2010:WEIHU]# [root@CORPSE2010:WEIHU]# umount /dev/sdb1 ----卸载 [root@CORPSE2010:WEIHU]# [root@CORPSE2010:WEIHU]# [root@CORPSE2010:WEIHU]# [root@CORPSE2010:WEIHU]# df -lh Filesystem Size Used Avail Use% Mounted on /dev/sda5 9.5G 5.7G 3.4G 64% / tmpfs 16G 72K 16G 1% /dev/shm /dev/sda1 190M 34M 146M 19% /boot /dev/sda8 24G 44M 23G 1% /data /dev/sda2 212G 4.0G 197G 2% /home /dev/sda6 9.5G 576M 8.5G 7% /opt /dev/sda7 9.5G 227M 8.8G 3% /var

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册