mount – Scanning External Drives (USB keys in particular) before mounting them

I need your help: it happens quite often to me that I have to mount drives coming from the most diverse sources and, sometimes, with quite a high risk of being infected with god knows what. As a consequence I deactivated auto mount and I usually format them before mounting them if I do not need to access their content, it is nonetheless quite common for me to need their content: I was wondering if there was any software able to scan them before mounting them; I remember that when I was on windows some antivirus were able to do so (probably mounting them to some sandbox I suppose) and I was wondering if there was any alternative software able to do so on MacOS.

Thanks

How can I block access to USB drives?

In an office envirnment I need to block access to USB drives for security reasons. I know how to do this on Windows, but how can I accomplish this on macOS?

hp – SAS drives not getting detected + orange light

I am using a HP Proliant server with the original hard drives. They have worked before.
I had it powered off for like two weeks.
After trying to power it on again, the two SAS drives had an orange light (was green two weeks prior)
and the RAID controller did not detect it anymore.
All the cables are plugged in fine.
Please help me. I am fairly new, and very desperate.

centos – Repartition hard drives with Gparted

I’ve created and cloned a CentOS computer with a ton of customization. But when I originally set it up I had CentOS automatically configure partitions across my SSD and spinning drive. This resulted in xfs filesystems and partitions that span both drives. I have to now repartition it in the following format:

Partition FileSystem MountPoint 
/dev/sda1 ext4       /boot
/dev/sda2 ext4       /
/dev/sdb1 ext4       /storage
/dev/sdb2 ext4       /var
/dev/sdb3 swap       swap

I created a GParted live USB stick and tried to make the partitions. But afterwards I was unable to mount them, and it seemed like I also deleted all the data. Am I going about this the wrong way? I’ve found it to be much easier to make the partitons from the beginning but I would really prefer not having to do that.

Any cheap place to purchase hard drives

Trying to sell some storage VPS, wondering if there’s any place you guys know can get great deals on hard drives.

Thank you…. | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1834894&goto=newpost

windows 7 – Hard drives seemingly no longer has bad sectors on it after erase and reformat

I have a Seagate SSHD laptop hard drive. When I use Seagates Software SeaTools. The drive used to fail the short drive self-tests and the long generic test. When it failed tests sea tools would warn me about having bad sectors. It would however to pass the short generic tests. I could access the data on the drive without any problems. I ran these tests from two different computers both from inside Windows 7 and Windows 10 and using sea tool for dos. When I try to run fix-all fast and fix-all long on the drive to try and fix the bad sectors it fails. All of a sudden after I deleted all the partitions on the drive and reformatted the drive after backing up the data on the drive. I just did a quick format too. Now the drive somehow can pass any tests I throw at it. It seemingly has no bad sectors. I tested the drive with different software other than seatools to get a second opinion and it passed those tests too. In addition, I used to not be able read the drive at all and it would cause windows disk management, file explorer and sometimes it would cause the bios to hang on my computer. What should I do now? Should I still keep using it because it seems to be fine now or should I RMA it and get a repaired/refurbished drive since it is still under warranty?

crash – I’m getting kernel panics, and drives unmounting

2018 21.5″ iMac 10.14.6 (18G6032)

It may be two different problems. I am getting kernel panics where the mac shuts down and restarts with the multi lang screen. I thought it may because of too many hard drives hanging off a USB bus.

I unplugged all the drives.
Still get the KPs.
Reset the PRAM and the SMC.

I googled IOUSBHostFamily- but it’s greek to me.
Any help is very much appreciated.

Saved the log

Anonymous UUID: 260B9651-5258-EA90-10B9-01BA57C390E0

Mon Dec 28 10:48:24 2020

***** Panic Report ***
panic(cpu 6 caller 0xffffff7f8ceb106a): @/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOUSBHostFamily/IOUSBHostFamily-587.270.2/AppleUSBXHCI/AppleUSBXHCITransferRing.cpp:220

megaraid – MegaCLI Doesn’t allow configured and uncofigured drives with no foreign configs found

I’m fairly new to MegaCLI and I’ve been having this one issue, after running

megacli -CfgLdAdd -r1 [252:0,252:1,252:2,252:3,252:6,252:7] -a0

I get the error

Mix of configured and unconfigured drives are not possible.
Exit Code: 0x0b

which upon a quick search shows to run the command

megacli -CfgForeign -Clear -a0

which returned this

There is no foreign configuration on controller 0.
Exit Code: 0x00

My issue is that I can’t configure the drives because megacli returns an error but all the info I could find says to do another command for foreign configs which aren’t there.

Slight update/edit:
Running command

megacli -CfgLdAdd -r0 [252:1] -a0

In an effort to just go drive by drive it returns

The specified physical disk does not have the appropriate attributes to complete
the requested command.
Exit Code: 0x26

Any help would be appreciated

bitcoind – How can I split blockchain data over two hard drives?

My node has two SSDs and the first one is filling up. The second one still has ~230GB available and I would like to move old blockchain data over there to free up an equivalent amount on the first drive.

How can I do that? The node is running on an old Win7 machine.

raid – What determines the Enclosure ID of a set of drives on a MegaRAID controller?

I am currently working on re-RAIDing, and while these machines should be identical from a hardware perspective, I’ve noticed a few discrepancies with the enclosure ID (EID) in storcli. While everything looks allright, one machines has drives on EID 1 and 2 instead of 0 and 1 respectively. The other one has 0 and 3.

While I can set up the RAIDs manually as they are, I am curious as to if it’s something that is easy to change, so that I can run my usual reraid-script.

It is worth noting that the two machines affected recently had their motherboards replaced. Is it as simple as cables being swapped around?