Attaching Folder as a Virtual Drive in VMWare Tech Support Mode

I need to install a driver for a NIC on an ESXi host. I am not able to connect to the server using vSphere client nor SSH. I am therefore using the Tech Support Mode feature of vmware to access the host. I had attached a folder using the “Virtual Drives” menu in the terminal (please see screenshot), but detached it afterwards in order to attach another one. However, in my console, ESXi is still seeing the folder that was previously attached even after a reboot. How is this possible?

Is there a command to re-scan/refresh the volumes somehow?

enter image description here

Thank you. J

hard drive – How to get Windows Storage Spaces warning message

In what must be one of the stranges UX decisions ever, Windows tells me that one of my physical drives in a Storage Pool has a warning – but that’s it. Bad S.M.A.R.T. values ? Unstable read rates ? High error rate ? Nobody knows, and Windows does not seem inclined to tell me. Surely that information must be available somewhere, any hints ?

hard drive – How do I move a partition in on macOS?

I’m migrating data from a 525GB drive to a 1TB drive. Part of the reason I’m doing this is the APFS container got messed up on the 525GB drive (I have backups).

The first thing did was dd the data from the 525GB drive to the 1TB drive (partition table and all). Of course, the partition table was wrong (and diskutil verifyDisk reported this) since it was too small for the 1TB drive. I fixed that with diskutil repairDisk.

Then I deleted the APFS container (since it was messed up and I plan to copy the data from a Time Machine backup). The space where the APFS container was is the Untitled partition.

So now the partition table looks like this:

/dev/disk2 (internal, physical):
   #:                       TYPE NAME                           SIZE        IDENTIFIER
   0:      GUID_partition_scheme                               *960.2 GB    disk2
   1:                        EFI EFI                            209.7 MB    disk2s1
   2:                  Apple_HFS Untitled                       314.0 GB    disk2s2
   3:                  Apple_HFS UEFI Boot Manager              1.0 GB      disk2s3
   4:       Microsoft Basic Data BOOTCAMP                       209.6 GB    disk2s4

As you can see, the sizes of the partitions don’t add up to the size of the disk. I’d like to resize disk2s2 to fill the remaining space on my 1TB drive. However, diskutil resizeVolume won’t expand that partition any further because it’s already up against disk2s3 and disk2s4. I’d like to move my disk2s3 and disk2s4 partitions to the end of the drive (right now they’re at the end of the first 525GB of the drive.

How do I move partitions in macOS?

Link audio files in Google Drive folder in a Google Sheet

I have hundreds of audio files (.mp3) in a Google Drive folder that I need to list with links in a Google Sheet. Very similar to the problem described here, but I was not able to adapt the code to .mp3 files. The example code that I adapted:

function ListFldPdfs() {
  // replace FOLDER-ID with your folder's ID
  // replace SHEET-NAME with the name of the sheet that will hold the list
  var myPDFfolder = DriveApp.getFolderById('FOLDER-ID'); // replace FOLDER-ID with your folder's ID
  var thesheet = 'SHEET-NAME' // give a name to YOUR list sheet

  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var newPDFsheet = ss.getSheetByName(thesheet); 
     if (!newPDFsheet) { 
       ss.insertSheet(thesheet, 0); 
       var newPDFsheet = ss.getSheetByName(thesheet) ;
  // clear all existing content
  // append the header row
  newPDFsheet.appendRow(( "Name", "VIEW", "HYPERLINK"));
  var results = ();
  // list all pdf files in the folder
  var mypdfs = myPDFfolder.getFilesByType('audio/mp3');
  // loop through found files in the folder
  while (mypdfs.hasNext()) { 
    var myfile =; 
    var fname = myfile.getName();
    var furl = myfile.getUrl();
    results = ( fname, furl, );
    //Logger.log("results = "+results); // for de-bugging
     var fcell = ss.getSheetByName(thesheet).getRange("C2"); 

This code effectively creates a new sheet in my Google Sheet with the columns Name, VIEW and HYPERLINK, but without listing the actual files in the original folder or providing links to see them. I appreciate any help on this.

sql server – DBCC CheckDB : Operating System Error 27(The drive cannot find the sector requested)

So my regular DBCC check had this lovely message waiting for me in the error logs this morning. I’ve been trying to find out more about this issue and what can be done about it. Manually running DBCC CHECKDB will result in DBCC aborting with Error 6 (connection closed by remote host) and get me this error in the SQL log file. Running DBCC CHECKDB(dbname) WITH PHYSICAL ONLY or DBCC CHECKDB(dbname, NOINDEX) will complete successfully and report no errors. Chkdsk reports no errors on the drive.

How can I determine if this a corruption error in the database file or an actual “on the disk” bad sector? Can this be fixed in place or do I need a new disk and to restore from backups? While I have good backups, if I restore a recent backup, will that also “restore” the missing data/sector?

FWIW the DB is 2.2 TB so I’m rather reluctant to jump into a fix until I really know what’s going on.

hard drive – Kernel Panic on 2014 Mac mini, Mojave

So I got error codes many months ago, which I was told were warnings, and my computer ended up having a faulty hard drive and it gave me a prohibited sign. I recently paid $150 to get the hard drive replaced, and approximately 3 days in, I get another one. This time it happened when I opened up the program “FL Studio” for music, and I don’t know if this is a reoccurring theme, but it always used to happen before also. Specifically FL Studio. It’s either it would shut my computer off with a kernel panic as soon as I open it, or it would shut off about 20 minutes of use into it. What do I do? Was it a hard drive error? I read the report and it said “Fault CPU” and I don’t know what I means. I need help here please

    `Anonymous UUID:       B438765C-6993-D51B-4B11-BD4EA970B944

     Tue Oct 20 01:03:19 2020

    *** Panic Report ***
    panic(cpu 0 caller 0xffffff801c4dbadd): Kernel trap at 0xffffff7f9ce07edd, type 14=page                   fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff913ddb8000, CR3: 0x0000000020355000, CR4:  0x00000000001626e0
    RAX: 0x000000000000a5a0, RBX: 0xffffff7f9e6b8fc8, RCX: 0x000000000000e696, RDX: 0x0000000000011000
    RSP: 0xffffff913da93cdc, RBP: 0xffffff913da93ce0, RSI: 0xffffff812929ba58, RDI: 0xffffff913ddada58
    R8:  0x0000000000001fa0, R9:  0xffffff913ddada60, R10: 0xffffff812929ba60, R11: 0x0000000000010ffe
    R12: 0x0000000000002b4b, R13: 0xffffff802e686d00, R14: 0x0000000000000000, R15: 0xffffff802e686d00
    RFL: 0x0000000000010206, RIP: 0xffffff7f9ce07edd, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0xffffff913ddb8000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1

    Backtrace (CPU 0), Frame : Return Address
    0xffffff913da937a0 : 0xffffff801c3ae6ed 
    0xffffff913da937f0 : 0xffffff801c4ea185 
    0xffffff913da93830 : 0xffffff801c4db8ba 
    0xffffff913da938a0 : 0xffffff801c35bb40 
    0xffffff913da938c0 : 0xffffff801c3ae107 
    0xffffff913da939e0 : 0xffffff801c3adf53 
    0xffffff913da93a50 : 0xffffff801c4dbadd 
    0xffffff913da93bc0 : 0xffffff801c35bb40 
    0xffffff913da93be0 : 0xffffff7f9ce07edd 
    0xffffff913da93ce0 : 0xffffff7f9e6b8ee4 
    0xffffff913da93d00 : 0xffffff7f9e68c457 
    0xffffff913da93d60 : 0xffffff7f9ce04db3 
    0xffffff913da93db0 : 0xffffff7f9ce04b1a 
    0xffffff913da93dd0 : 0xffffff7f9ce0483e 
    0xffffff913da93e20 : 0xffffff7f9cdff5bf 
    0xffffff913da93e90 : 0xffffff7f9cdfbb4f 
    0xffffff913da93ec0 : 0xffffff801c3ed885 
    0xffffff913da93f40 : 0xffffff801c3ed425 
    0xffffff913da93fa0 : 0xffffff801c35b0ce 
    Kernel Extensions in backtrace:>0xffffff7f9ce2ffff

    BSD process name corresponding to current thread: kernel_task

    Mac OS version:

    Kernel version:
    Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-  4903.271.2~2/RELEASE_X86_64
    Kernel UUID: C41337A1-0EC3-3896-A954-A1F85E849D53
    Kernel slide:     0x000000001c000000
    Kernel text base: 0xffffff801c200000
    __HIB  text base: 0xffffff801c100000
    System model name: Macmini7,1 (Mac-35C5E08120C7EEAF)

    System uptime in nanoseconds: 35074242423818
    last loaded kext at 25719405411177:    5.0.0 (addr 0xffffff7f9f9dc000, size 28672)
    last unloaded kext at 25974875911306:  5.0.0 (addr 0xffffff7f9f9dc000, size 28672)
    loaded kexts:
    com.Cycling74.driver.Soundflower    2
    com.waves.driver.soundgrid  10.0.10  3.50.12  3.50.12    1  1.0.1  20.036.15    3.6.5    6.0.14d3   1.5.9   2.7.0d0   110.25.11    1.0.0    1   12.1.0   7.0.0   282.54   1 3.1.2   3.1   1  1.70  12.1.0 4.0.0    3.0  354    2.1.3  407.200.4 1.0.0d1 40 1.0.0 1.0  945.275.7 1.0    10.3.3  1.7.6    1400.1.1  329.260.5   6.1   2.0  1.8    2.1    6.1  1.7   201  8   3.50.12 760.6   740.2 1   1.0   1.0.18d1 282.54    528   530.51  3.50.12 282.54 282.54  1.0.0 6.0.0d8    3.50.12    404.14    530.66   255.6.1    1.0.0 1.0 6.0.14d3   6.0.14d3  6.0.14d3   6.0.14d3    1.2  315.6 1.2   206.5   1.2.0 5.0.0    1.2  11    1    5.6.9    5.6.9 2.1.5  301.270.1    4.7.9 6.8.6 1.1.0   1200.12.2  1.0.1b8    1.0.4    288    1.2   1.2   1.0 900.4.2    1.2  2.1    2.1   1.1 2.0.0   3  300.0   1.0.0d1 493.0.0   28.30 1.0  2    456.260.3   1.0.5  145.200.2   408.250.3   408.250.3 2.1    1 1.0    1 1.2 1.0    1.0    1.0.1   1  47    740.2  3.4  6.1   3.1.9 2.9    1.4   1    1.0  1



terminal – How to confirm that a cloned external hard drive is accurately cloned?

I’ve used Carbon Copy Cloner to copy one external SSD, which is currently about to die, to another one. I also have an online backup of the external drive, but I want to confirm that my cloned copy is exactly the same as the old one.

I can compare individual files using md5sum. Is there a tool I can use to compare every single file on two drives?