In my case, i’ll create a LVM and can grow it whenever I need additional space.įirst I’ll need to format the newly drive, /dev/sdb via fdisk. disk VMware Virtual disk 1.0 /dev/sdbįrom here we can do whatever we want with the drive (sdb). You can see above that scsitools found a new drive. OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00 Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Type: Direct-Access ANSI SCSI revision: 02 Vendor: VMware Model: Virtual disk Rev: 1.0 OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Vendor: NECVMWar Model: VMware IDE CDR10 Rev: 1.00 OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00 Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs sbin/rescan-scsi-bus: line 592: [: 1.03: integer expression expected Since lsscsi showed me that I only have one drive, sda, I’ll rescan. Scsitools will scan the SCSI bus and detect the drives without rebooting. On your ESX host, add the new VMDK to the VM, then install scsitools on the guest Linux VM. cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0 Lets see what lsscsi shows connected to the VM: lsscsi I want to add another drive to export via NFS. This is really useful for critical production servers that cannot go down for reboots like a NFS server. This post is on deploying a new Ubuntu VM, dynamically adding more disks, having the guest OS recognize the new drives and increasing its capacity without rebooting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |