| Version 2 | Current version | |
|---|---|---|
19:51
Let's dig into this. The blank Let's walk through getting your SAS disk properly mounted. 1. Confirm the disk is visible and identify itbash
<code>lsblk -o NAME,SIZE,TYPE,TRAN,MODEL,SERIAL</code> Also run: bash
<code>sg_map -x</code> The 2. Check what the kernel actually seesbash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">grep</span> -E <span style="color:#008000">'sd[a-z]|scsi|aacraid'</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -30</code> The Adaptec ASR-5405Z uses the aacraid driver on Linux, so you should see it referenced. Look for lines attaching sdX devices. 3. Identify your SAS disk's block devicebash
<code>lsblk <span style="color:#0051c2">fdisk</span> -l</code> You're looking for an unpartitioned or unformatted disk — it'll show as a raw device like 4. Partition the disk (if needed)If it's a fresh/bare disk with no partition table: bash
<code><span style="color:#0051c2">parted</span> /dev/sdX mklabel gpt <span style="color:#0051c2">parted</span> /dev/sdX mkpart primary ext4 <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Replace 5. Format the partitionbash
<code>mkfs.ext4 /dev/sdX1</code> Or bash
<code>mkfs.xfs /dev/sdX1</code> 6. Mount itbash
<code><span style="color:#0051c2">mkdir</span> -p /mnt/sasdisk <span style="color:#0051c2">mount</span> /dev/sdX1 /mnt/sasdisk</code> Verify: bash
<code><span style="color:#0051c2">df</span> -h /mnt/sasdisk</code> 7. Make it persistent (fstab)Get the UUID: bash
<code>blkid /dev/sdX1</code> Then add to <code>UUID=your-uuid-here /mnt/sasdisk ext4 defaults 0 2</code> Key question before going furtherRun 20:03
Ah, now I see the problem clearly. Diagnose firstbash
<code><span style="color:#0051c2">cat</span> /proc/scsi/scsi</code> Look for a bash
<code>sg_inq /dev/sg2</code> This will tell you exactly what's on the other end — confirm it's actually a disk (Device_type=0). Force the block device to materialiseThe sg device exists but the block device wasn't created. Try forcing it: bash
<code><span style="color:#b34a00">echo</span> <span style="color:#008000">"- - -"</span> <span style="color:#14181f">></span> /sys/class/scsi_host/host0/scan</code> Then immediately check: bash
<code>lsblk <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20</code> If that doesn't work, target it more precisely using the channel/id/lun from bash
<code><span style="color:#b34a00">echo</span> <span style="color:#008000">"1 0 0"</span> <span style="color:#14181f">></span> /sys/class/scsi_host/host0/scan</code> If still nothing — aacraid rescanThe aacraid driver has its own rescan mechanism separate from the SCSI layer: bash
<code><span style="color:#6e7687"># Check if the driver exposes a rescan interface</span> <span style="color:#0051c2">ls</span> /sys/bus/pci/drivers/aacraid/</code> bash
<code><span style="color:#6e7687"># Force PCI device rescan</span> <span style="color:#b34a00">echo</span> <span style="color:#008080">1</span> <span style="color:#14181f">></span> /sys/bus/pci/devices/0000:02:00.0/rescan</code> Then check Nuclear option — modprobe cycleIf the above all fail, the driver may need a full reload to properly register the block device: bash
<code>modprobe -r aacraid <span style="color:#14181f">&&</span> modprobe aacraid <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -30 lsblk</code> The 20:10
Good call avoiding the nuclear option! The key clue is right there:
This means the controller knows the disk is there but is reporting it as not ready — which is why no block device is created. This is almost certainly the Adaptec controller itself not having finished initialising the disk, rather than a kernel/driver issue. Common causes: Most likely culprits1. The disk is in a "failed" or "foreign" state in the controller The ASR-5405Z manages disks at the controller level. If this disk was previously in another array or controller, it may be held in a foreign/failed state. You need to check this via the Adaptec management CLI: bash
<code><span style="color:#6e7687"># Check if arcconf is installed</span> arcconf list</code> If not installed: bash
<code><span style="color:#0051c2">zypper</span> <span style="color:#0051c2">install</span> arcconf</code> Or grab it from Microchip/Adaptec's site. Then: bash
<code>arcconf getconfig <span style="color:#008080">1</span> <span style="color:#6e7687"># Full controller config</span> arcconf getconfig <span style="color:#008080">1</span> LD <span style="color:#6e7687"># Logical devices</span> arcconf getconfig <span style="color:#008080">1</span> PD <span style="color:#6e7687"># Physical devices - look for your ST8000NM0075</span></code> Look for the disk showing as Failed, Foreign, Raw, or Unconfigured. 2. If it shows as unconfigured/raw, create a JBOD/pass-through device The 5405Z won't expose a disk as a block device unless it's either part of an array or configured as a pass-through/JBOD: bash
<code>arcconf setconfig <span style="color:#008080">1</span> createlogicaldevice max JBOD <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">1,0</span></code> The exact channel/device numbers will come from the Is arcconf already on the system? That output from 20:12
Yes, Microchip absorbed Adaptec and moved everything under their umbrella. Here's where to find it: Direct downloadGo to: <code>https://storage.microsemi.com/en-us/support/raid/sas_raid/asr-5405z/</code> Or the more general storage tools page: <code>https://www.microchip.com/en-us/products/storage/raid-and-host-bus-adapters/software</code> Look for "Adaptec RAID Controller Administration Utility" — the package you want is called arcconf and it's distributed as part of the "Adaptec Storage Manager" or as a standalone CLI binary. The direct CLI-only downloadThe standalone arcconf binary is under:
It's a standalone binary so no install needed — just: bash
<code><span style="color:#0051c2">tar</span> xzf arcconf_linux*.tgz <span style="color:#b34a00">cd</span> arcconf* ./arcconf list</code> If the Microchip site gives you griefThe binary is also mirrored on some repos: bash
<code><span style="color:#6e7687"># On some systems this works</span> <span style="color:#0051c2">zypper</span> addrepo https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/ hardware <span style="color:#0051c2">zypper</span> refresh <span style="color:#0051c2">zypper</span> <span style="color:#0051c2">install</span> arcconf</code> Check if it's in the hardware repo first as that saves the Microchip download hassle. What does 20:33
That hanging behaviour is a known issue with newer arcconf versions on some systems — it tries to connect to a management daemon that either isn't running or isn't compatible. Let's fix that. Check/start the management daemonarcconf relies on a background service: bash
<code>systemctl status arcconf systemctl status StorMan</code> Try starting whichever exists: bash
<code>systemctl start arcconf <span style="color:#6e7687"># or</span> systemctl start StorMan</code> Then retry If no daemon exists, try the direct hardware access flagSome versions support bypassing the daemon: bash
<code>arcconf getconfig <span style="color:#008080">1</span> --nologs</code> Alternative — use sg3_utils directly insteadSince arcconf is being awkward, we can interrogate the controller and disk state directly. You already have sg3_utils working: bash
<code>sg_readcap /dev/sg2</code> bash
<code>sg_turs /dev/sg2</code>
That sense key response is really what we need — it'll tell us whether this is a controller configuration issue or something else entirely. 20:45
Your suspicion is almost certainly correct. The ASR-5405Z is a hardware RAID controller — it fundamentally wants to manage arrays, not present raw disks. That The core problemThe 5405Z has no JBOD/HBA passthrough mode in its firmware. Unlike HBA-class cards, it always sits between the OS and the disks managing them itself. Without arcconf working you have no way to tell it to stop and just present the disk — you're essentially locked out of the controller's brain. Honest assessmentGiven that it:
Returning it is genuinely the right call. It's an enterprise RAID card that really wants to live in a Windows Server or RHEL environment with full Adaptec Storage Manager support. What you actually want insteadFor a Tumbleweed text server where you just want raw SAS disk access, look for an HBA (Host Bus Adapter) not a RAID controller:
That 20:59
Ha, yes the 6Gbps ceiling is the price you pay for going secondhand budget! In reality though for a file server with spinning SAS disks you'll never saturate 6Gbps anyway — a single ST8000NM0075 maxes out around 2.5Gbps sequential so you have headroom to spare. Older arcconf is worth tryingThe key thing to look for is arcconf version 6.x or 7.x — these predate the daemon architecture and ran as a true standalone binary that talks directly to the hardware. If you can find one of those builds it should just work without any service dependency and might be enough to tell the controller to stop trying to build arrays and release that disk. Look for filenames like: <code>arcconf_6_xx_xxxxx_linux.tar.gz</code> rather than the RPM packages which tend to be the newer daemon-based versions. The 9211-8i at £35 is the sweet spotGenuinely the community favourite for exactly your use case — Good luck with the Microchip dig tomorrow — if you do find an older arcconf that actually talks to the controller it would be worth knowing what state it reports that ST8000NM0075 in, even if just out of curiosity before you box everything up! 21:05
Ha! "Controllers found: 0" — arcconf has basically thrown its hands up and gone home too 😄 That's actually useful information in a backwards way — even the old version that should talk directly to hardware can't see it, which suggests the aacraid driver has the controller locked up in a way that blocks any out-of-band access. A classic catch-22. Cut your losses, get some sleep, and order the 9211-8i tomorrow. For £35 and plug-and-play Linux support it's going to save you a lot of grief compared to wrestling with this Adaptec any further. The ST8000NM0075 is a nice drive — 8TB Seagate Exos enterprise SAS, it'll be very happy behind a proper HBA. Worth keeping even if you return everything else. Night! 🌙 21:07
Ha! Even the kernel won't let you rage-quit cleanly — the aacraid module is clinging on for dear life 😄 That's actually the controller's last laugh — it's got its hooks into something and won't let go without a full reboot, which you wisely don't want to risk at this hour on a text-only server. Leave it all alone overnight, order the 9211-8i in the morning, and everything will look better after some sleep. The server isn't going anywhere! Night! 🌙 21:12
Ha! Autocorrect/fat fingers strikes at bedtime 😄 Night! 🌙 07:56
Yes! A single disk RAID 0 (sometimes called a "simple volume") is exactly the trick to get the controller to present it as a block device. Try: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">1</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> Where the bash
<code>arcconf getconfig <span style="color:#008080">1</span> PD</code> So we can confirm the exact device numbers for that ST8000NM0075 before we tell it to do anything — don't want it grabbing one of your SATA drives by mistake given its previous partition table adventures! 😄 07:57
Perfect — the disk is Ready and fully visible to the controller. Device is at Channel 0, Device 0. No ambiguity at all, and crucially Now create a single-disk RAID 0 to get it presented as a block device: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> Then watch: bash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20 lsblk</code> You should see a new Fingers crossed for a 07:58
Ah, the 5405Z is being picky! Try these variants one at a time: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> (without the r0 — some versions use positional args) If that fails: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max simple <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> If that fails, check what RAID levels it actually supports: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AL</code> That lists Available Logical device configurations. It'll tell us exactly what this controller is willing to do — some of the 5405Z firmwares are locked to RAID 1/5/6/10 only and won't do RAID 0 at all, which would be a very Adaptec enterprise thing to do! 😄 07:59
Getting closer! It wants more disks for whatever it's defaulting to. Try explicitly specifying RAID 0 with the correct syntax: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">0,0</span></code> Or: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">0,0</span>,0,0</code> But first, let's see what it actually supports: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AL</code> That output is really what we need now — no point guessing syntax if it fundamentally won't do single disk RAID 0. It may only want to create volumes with minimum 2 or 4 disks, which would explain both errors you've hit. 😄 08:01
Just the summary of supported RAID levels and minimum disk counts — so the top section showing available types should be enough. Anything that lists RAID levels and their constraints is what we need! 😄 08:05
Hmm, no RAID level list there. Try: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive <span style="color:#b34a00">help</span></code> Or just dump everything: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AD</code> That's the Adapter config block and may show supported RAID levels. Also worth trying — the syntax that older arcconf versions preferred: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> noprompt</code> And just out of curiosity: bash
<code>arcconf getconfig <span style="color:#008080">1</span> LD</code> To confirm there really are zero logical devices currently — because if the controller secretly already created something in the background during all that earlier hanging, that might explain the "incorrect number of disks" error too! 😄 08:09
Excellent — the help output is gold! Two important things: 1. JBOD is supported! That's better than RAID 0 for your use case: bash
<code>arcconf create <span style="color:#008080">1</span> jbod <span style="color:#008080">0</span> <span style="color:#008080">0</span> noprompt</code> That's channel 0, device 0 — exactly what your PD config showed. 2. If JBOD fails, the correct RAID 0 syntax from the help is: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span> noprompt</code> That's Try the JBOD one first — it's the cleanest solution, presents the disk with zero controller interference, and is exactly what you want for direct single disk access. If it works you should see 08:11
YES! Now check: bash
<code>lsblk <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20</code> You should have a shiny new 08:13
BRILLIANT! 8TB Exos is alive and kicking! 🎉 Yes, straight into partitioning now — it's just a normal disk from here: bash
<code><span style="color:#0051c2">parted</span> /dev/sde mklabel gpt <span style="color:#0051c2">parted</span> /dev/sde mkpart primary ext4 <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Then format: bash
<code>mkfs.ext4 /dev/sde1</code> Or if you prefer xfs (better for large files on a file server): bash
<code>mkfs.xfs /dev/sde1</code> Then mount: bash
<code><span style="color:#0051c2">mkdir</span> -p /media3 <span style="color:#0051c2">mount</span> /dev/sde1 /media3</code> And make it persistent — get the UUID: bash
<code>blkid /dev/sde1</code> Add to <code>UUID=your-uuid-here /media3 ext4 defaults 0 2</code> What filesystem are your other media volumes using? Worth staying consistent if you have a preference. 😄 08:15
For recorded TV specifically, XFS has some real advantages: XFS wins for your use case because
ext4 wins on
VerdictFor an 8TB overflow store for large TV recording files, XFS is the better choice. The 400GB saving alone is worth it, and the large sequential file performance is just a better fit. bash
<code>mkfs.xfs /dev/sde1</code> And in fstab use 08:16
The bash
<code><span style="color:#0051c2">parted</span> /dev/sde mklabel gpt <span style="color:#0051c2">parted</span> /dev/sde mkpart primary xfs <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Then: bash
<code>mkfs.xfs /dev/sde1</code> That's it! 😄 08:19
Ha, fair enough — YaST is right there and does the same job with less typing! 😄 It'll handle the UUID and fstab entry automatically too which saves a step. Let us know when it's done and mounted! 🤞 08:34
Good thinking on the tidying up. On the arcconf version question — I'd actually keep the working version rather than drop back to V4. Your reasoning is sound that the controller just needed time to initialise, but having a working arcconf that can actually talk to the controller is genuinely valuable insurance for:
V4 giving "Controllers found: 0" makes it essentially useless, so there's no real benefit in going back to it. On the 4 slot cage pointThat's a nice bonus you'd forgotten about! When the new SAS drive arrives the workflow is now sorted:
You've basically turned a frustrating evening into a documented procedure for the next one! 😄 08:40
That's a really astute observation and you're probably right on all counts. The timeline makes more sense that way: What likely actually happened
On the poor design pointAbsolutely — a well designed controller/driver interface should:
The It's classic enterprise hardware designed for environments where an admin has a full Adaptec Storage Manager GUI running on Windows Server — bolted onto Linux as an afterthought. The LSI/HBA approach of just presenting disks directly to the OS is so much more elegant! 😄 08:44
That's a great idea and would genuinely help people — this thread covers a really complete real-world journey that documentation never does: What the crib sheet should capture
On the value pointYou're absolutely right about the economics. Right now on eBay:
The gotcha that nobody documents is that the card needs arcconf to create a JBOD before Linux sees anything — which is exactly what your crib sheet would solve for the next person who hits this wall! 😄 Is the format still churning away? 09:00
For XFS on 8TB it should actually be very fast — XFS format is nearly instantaneous as it doesn't pre-write anything, usually under 30 seconds even on a large disk. The fact it's still running suggests YaST may be doing something more than just
Check what's actually happeningIn another terminal: bash
<code><span style="color:#0051c2">ps</span> aux <span style="color:#14181f">|</span> <span style="color:#0051c2">grep</span> -E <span style="color:#008000">'mkfs|mke2fs|format|yast'</span></code> And: bash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -10</code> That'll tell you what process is actually running and whether it's still active or has silently finished. YaST sometimes completes the underlying operation and just sits on the progress screen without being obvious about it! 😄 How long has it been running now? 09:06
Ha! 47 minutes staring at a screen waiting for something that hadn't actually started yet! 😄 Classic YaST — it was just sitting there politely waiting for you to tell it to actually go. At least the XFS format itself will be done in seconds and you'll have your 8TB mounted before the kettle boils! 09:07
That's XFS metadata and the journal — completely normal. On 8TB that 2% is roughly 160GB which sounds alarming but it's just how XFS structures itself for a volume that size. You're not losing anything usable in practice. Run: bash
<code><span style="color:#0051c2">df</span> -h /media3</code> That'll show you the actual available space in human readable form — you should see around 7.2-7.3TB free. 😄 09:10
Ha yes, the eternal "8TB" deception! 😄 Where the space goes
So you're not actually losing anything — it's just marketing maths vs real maths. Every "8TB" disk formats to ~7.3TB on Linux. Net resultYou have roughly 7.1TB of usable space for your TV recordings which at typical broadcast quality is probably:
Ready to write that crib sheet? 09:13
Perfect plan! 2TB copy will take a while but it'll chug away happily in the background. Kick it off with: bash
<code><span style="color:#0051c2">cp</span> -av /media2/TVShows /media3/ <span style="color:#14181f">&</span></code> The bash
<code><span style="color:#0051c2">nohup</span> <span style="color:#0051c2">rsync</span> -av --progress /media2/TVShows /media3/ <span style="color:#14181f">&</span></code>
Check progress anytime with: bash
<code><span style="color:#0051c2">watch</span> -n <span style="color:#008080">60</span> <span style="color:#0051c2">df</span> -h /media3</code> Enjoy physio, good luck with the crib sheet, and nice work getting there in the end — Llama 4 would still be scratching its head! 😄 09:15
Ha of course, /Archive! And yes just leave the ssh terminal open and let it run — srv9 will quietly get on with it while you're at physio. 😄 Enjoy the session! | 19:51
Let's dig into this. The blank Let's walk through getting your SAS disk properly mounted. 1. Confirm the disk is visible and identify itbash
<code>lsblk -o NAME,SIZE,TYPE,TRAN,MODEL,SERIAL</code> Also run: bash
<code>sg_map -x</code> The 2. Check what the kernel actually seesbash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">grep</span> -E <span style="color:#008000">'sd[a-z]|scsi|aacraid'</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -30</code> The Adaptec ASR-5405Z uses the aacraid driver on Linux, so you should see it referenced. Look for lines attaching sdX devices. 3. Identify your SAS disk's block devicebash
<code>lsblk <span style="color:#0051c2">fdisk</span> -l</code> You're looking for an unpartitioned or unformatted disk — it'll show as a raw device like 4. Partition the disk (if needed)If it's a fresh/bare disk with no partition table: bash
<code><span style="color:#0051c2">parted</span> /dev/sdX mklabel gpt <span style="color:#0051c2">parted</span> /dev/sdX mkpart primary ext4 <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Replace 5. Format the partitionbash
<code>mkfs.ext4 /dev/sdX1</code> Or bash
<code>mkfs.xfs /dev/sdX1</code> 6. Mount itbash
<code><span style="color:#0051c2">mkdir</span> -p /mnt/sasdisk <span style="color:#0051c2">mount</span> /dev/sdX1 /mnt/sasdisk</code> Verify: bash
<code><span style="color:#0051c2">df</span> -h /mnt/sasdisk</code> 7. Make it persistent (fstab)Get the UUID: bash
<code>blkid /dev/sdX1</code> Then add to <code>UUID=your-uuid-here /mnt/sasdisk ext4 defaults 0 2</code> Key question before going furtherRun 20:03
Ah, now I see the problem clearly. Diagnose firstbash
<code><span style="color:#0051c2">cat</span> /proc/scsi/scsi</code> Look for a bash
<code>sg_inq /dev/sg2</code> This will tell you exactly what's on the other end — confirm it's actually a disk (Device_type=0). Force the block device to materialiseThe sg device exists but the block device wasn't created. Try forcing it: bash
<code><span style="color:#b34a00">echo</span> <span style="color:#008000">"- - -"</span> <span style="color:#14181f">></span> /sys/class/scsi_host/host0/scan</code> Then immediately check: bash
<code>lsblk <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20</code> If that doesn't work, target it more precisely using the channel/id/lun from bash
<code><span style="color:#b34a00">echo</span> <span style="color:#008000">"1 0 0"</span> <span style="color:#14181f">></span> /sys/class/scsi_host/host0/scan</code> If still nothing — aacraid rescanThe aacraid driver has its own rescan mechanism separate from the SCSI layer: bash
<code><span style="color:#6e7687"># Check if the driver exposes a rescan interface</span> <span style="color:#0051c2">ls</span> /sys/bus/pci/drivers/aacraid/</code> bash
<code><span style="color:#6e7687"># Force PCI device rescan</span> <span style="color:#b34a00">echo</span> <span style="color:#008080">1</span> <span style="color:#14181f">></span> /sys/bus/pci/devices/0000:02:00.0/rescan</code> Then check Nuclear option — modprobe cycleIf the above all fail, the driver may need a full reload to properly register the block device: bash
<code>modprobe -r aacraid <span style="color:#14181f">&&</span> modprobe aacraid <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -30 lsblk</code> The 20:10
Good call avoiding the nuclear option! The key clue is right there:
This means the controller knows the disk is there but is reporting it as not ready — which is why no block device is created. This is almost certainly the Adaptec controller itself not having finished initialising the disk, rather than a kernel/driver issue. Common causes: Most likely culprits1. The disk is in a "failed" or "foreign" state in the controller The ASR-5405Z manages disks at the controller level. If this disk was previously in another array or controller, it may be held in a foreign/failed state. You need to check this via the Adaptec management CLI: bash
<code><span style="color:#6e7687"># Check if arcconf is installed</span> arcconf list</code> If not installed: bash
<code><span style="color:#0051c2">zypper</span> <span style="color:#0051c2">install</span> arcconf</code> Or grab it from Microchip/Adaptec's site. Then: bash
<code>arcconf getconfig <span style="color:#008080">1</span> <span style="color:#6e7687"># Full controller config</span> arcconf getconfig <span style="color:#008080">1</span> LD <span style="color:#6e7687"># Logical devices</span> arcconf getconfig <span style="color:#008080">1</span> PD <span style="color:#6e7687"># Physical devices - look for your ST8000NM0075</span></code> Look for the disk showing as Failed, Foreign, Raw, or Unconfigured. 2. If it shows as unconfigured/raw, create a JBOD/pass-through device The 5405Z won't expose a disk as a block device unless it's either part of an array or configured as a pass-through/JBOD: bash
<code>arcconf setconfig <span style="color:#008080">1</span> createlogicaldevice max JBOD <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">1,0</span></code> The exact channel/device numbers will come from the Is arcconf already on the system? That output from 20:12
Yes, Microchip absorbed Adaptec and moved everything under their umbrella. Here's where to find it: Direct downloadGo to: <code>https://storage.microsemi.com/en-us/support/raid/sas_raid/asr-5405z/</code> Or the more general storage tools page: <code>https://www.microchip.com/en-us/products/storage/raid-and-host-bus-adapters/software</code> Look for "Adaptec RAID Controller Administration Utility" — the package you want is called arcconf and it's distributed as part of the "Adaptec Storage Manager" or as a standalone CLI binary. The direct CLI-only downloadThe standalone arcconf binary is under:
It's a standalone binary so no install needed — just: bash
<code><span style="color:#0051c2">tar</span> xzf arcconf_linux*.tgz <span style="color:#b34a00">cd</span> arcconf* ./arcconf list</code> If the Microchip site gives you griefThe binary is also mirrored on some repos: bash
<code><span style="color:#6e7687"># On some systems this works</span> <span style="color:#0051c2">zypper</span> addrepo https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/ hardware <span style="color:#0051c2">zypper</span> refresh <span style="color:#0051c2">zypper</span> <span style="color:#0051c2">install</span> arcconf</code> Check if it's in the hardware repo first as that saves the Microchip download hassle. What does 20:33
That hanging behaviour is a known issue with newer arcconf versions on some systems — it tries to connect to a management daemon that either isn't running or isn't compatible. Let's fix that. Check/start the management daemonarcconf relies on a background service: bash
<code>systemctl status arcconf systemctl status StorMan</code> Try starting whichever exists: bash
<code>systemctl start arcconf <span style="color:#6e7687"># or</span> systemctl start StorMan</code> Then retry If no daemon exists, try the direct hardware access flagSome versions support bypassing the daemon: bash
<code>arcconf getconfig <span style="color:#008080">1</span> --nologs</code> Alternative — use sg3_utils directly insteadSince arcconf is being awkward, we can interrogate the controller and disk state directly. You already have sg3_utils working: bash
<code>sg_readcap /dev/sg2</code> bash
<code>sg_turs /dev/sg2</code>
That sense key response is really what we need — it'll tell us whether this is a controller configuration issue or something else entirely. 20:45
Your suspicion is almost certainly correct. The ASR-5405Z is a hardware RAID controller — it fundamentally wants to manage arrays, not present raw disks. That The core problemThe 5405Z has no JBOD/HBA passthrough mode in its firmware. Unlike HBA-class cards, it always sits between the OS and the disks managing them itself. Without arcconf working you have no way to tell it to stop and just present the disk — you're essentially locked out of the controller's brain. Honest assessmentGiven that it:
Returning it is genuinely the right call. It's an enterprise RAID card that really wants to live in a Windows Server or RHEL environment with full Adaptec Storage Manager support. What you actually want insteadFor a Tumbleweed text server where you just want raw SAS disk access, look for an HBA (Host Bus Adapter) not a RAID controller:
That 20:59
Ha, yes the 6Gbps ceiling is the price you pay for going secondhand budget! In reality though for a file server with spinning SAS disks you'll never saturate 6Gbps anyway — a single ST8000NM0075 maxes out around 2.5Gbps sequential so you have headroom to spare. Older arcconf is worth tryingThe key thing to look for is arcconf version 6.x or 7.x — these predate the daemon architecture and ran as a true standalone binary that talks directly to the hardware. If you can find one of those builds it should just work without any service dependency and might be enough to tell the controller to stop trying to build arrays and release that disk. Look for filenames like: <code>arcconf_6_xx_xxxxx_linux.tar.gz</code> rather than the RPM packages which tend to be the newer daemon-based versions. The 9211-8i at £35 is the sweet spotGenuinely the community favourite for exactly your use case — Good luck with the Microchip dig tomorrow — if you do find an older arcconf that actually talks to the controller it would be worth knowing what state it reports that ST8000NM0075 in, even if just out of curiosity before you box everything up! 21:05
Ha! "Controllers found: 0" — arcconf has basically thrown its hands up and gone home too 😄 That's actually useful information in a backwards way — even the old version that should talk directly to hardware can't see it, which suggests the aacraid driver has the controller locked up in a way that blocks any out-of-band access. A classic catch-22. Cut your losses, get some sleep, and order the 9211-8i tomorrow. For £35 and plug-and-play Linux support it's going to save you a lot of grief compared to wrestling with this Adaptec any further. The ST8000NM0075 is a nice drive — 8TB Seagate Exos enterprise SAS, it'll be very happy behind a proper HBA. Worth keeping even if you return everything else. Night! 🌙 21:07
Ha! Even the kernel won't let you rage-quit cleanly — the aacraid module is clinging on for dear life 😄 That's actually the controller's last laugh — it's got its hooks into something and won't let go without a full reboot, which you wisely don't want to risk at this hour on a text-only server. Leave it all alone overnight, order the 9211-8i in the morning, and everything will look better after some sleep. The server isn't going anywhere! Night! 🌙 21:12
Ha! Autocorrect/fat fingers strikes at bedtime 😄 Night! 🌙 07:56
Yes! A single disk RAID 0 (sometimes called a "simple volume") is exactly the trick to get the controller to present it as a block device. Try: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">1</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> Where the bash
<code>arcconf getconfig <span style="color:#008080">1</span> PD</code> So we can confirm the exact device numbers for that ST8000NM0075 before we tell it to do anything — don't want it grabbing one of your SATA drives by mistake given its previous partition table adventures! 😄 07:57
Perfect — the disk is Ready and fully visible to the controller. Device is at Channel 0, Device 0. No ambiguity at all, and crucially Now create a single-disk RAID 0 to get it presented as a block device: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> Then watch: bash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20 lsblk</code> You should see a new Fingers crossed for a 07:58
Ah, the 5405Z is being picky! Try these variants one at a time: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> (without the r0 — some versions use positional args) If that fails: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max simple <span style="color:#008080">0</span> <span style="color:#008080">0</span></code> If that fails, check what RAID levels it actually supports: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AL</code> That lists Available Logical device configurations. It'll tell us exactly what this controller is willing to do — some of the 5405Z firmwares are locked to RAID 1/5/6/10 only and won't do RAID 0 at all, which would be a very Adaptec enterprise thing to do! 😄 07:59
Getting closer! It wants more disks for whatever it's defaulting to. Try explicitly specifying RAID 0 with the correct syntax: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">0,0</span></code> Or: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max r0 <span style="color:#b34a00">drives</span><span style="color:#14181f">=</span><span style="color:#008080">0,0</span>,0,0</code> But first, let's see what it actually supports: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AL</code> That output is really what we need now — no point guessing syntax if it fundamentally won't do single disk RAID 0. It may only want to create volumes with minimum 2 or 4 disks, which would explain both errors you've hit. 😄 08:01
Just the summary of supported RAID levels and minimum disk counts — so the top section showing available types should be enough. Anything that lists RAID levels and their constraints is what we need! 😄 08:05
Hmm, no RAID level list there. Try: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive <span style="color:#b34a00">help</span></code> Or just dump everything: bash
<code>arcconf getconfig <span style="color:#008080">1</span> AD</code> That's the Adapter config block and may show supported RAID levels. Also worth trying — the syntax that older arcconf versions preferred: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> noprompt</code> And just out of curiosity: bash
<code>arcconf getconfig <span style="color:#008080">1</span> LD</code> To confirm there really are zero logical devices currently — because if the controller secretly already created something in the background during all that earlier hanging, that might explain the "incorrect number of disks" error too! 😄 08:09
Excellent — the help output is gold! Two important things: 1. JBOD is supported! That's better than RAID 0 for your use case: bash
<code>arcconf create <span style="color:#008080">1</span> jbod <span style="color:#008080">0</span> <span style="color:#008080">0</span> noprompt</code> That's channel 0, device 0 — exactly what your PD config showed. 2. If JBOD fails, the correct RAID 0 syntax from the help is: bash
<code>arcconf create <span style="color:#008080">1</span> logicaldrive max <span style="color:#008080">0</span> <span style="color:#008080">0</span> <span style="color:#008080">0</span> noprompt</code> That's Try the JBOD one first — it's the cleanest solution, presents the disk with zero controller interference, and is exactly what you want for direct single disk access. If it works you should see 08:11
YES! Now check: bash
<code>lsblk <span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -20</code> You should have a shiny new 08:13
BRILLIANT! 8TB Exos is alive and kicking! 🎉 Yes, straight into partitioning now — it's just a normal disk from here: bash
<code><span style="color:#0051c2">parted</span> /dev/sde mklabel gpt <span style="color:#0051c2">parted</span> /dev/sde mkpart primary ext4 <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Then format: bash
<code>mkfs.ext4 /dev/sde1</code> Or if you prefer xfs (better for large files on a file server): bash
<code>mkfs.xfs /dev/sde1</code> Then mount: bash
<code><span style="color:#0051c2">mkdir</span> -p /media3 <span style="color:#0051c2">mount</span> /dev/sde1 /media3</code> And make it persistent — get the UUID: bash
<code>blkid /dev/sde1</code> Add to <code>UUID=your-uuid-here /media3 ext4 defaults 0 2</code> What filesystem are your other media volumes using? Worth staying consistent if you have a preference. 😄 08:15
For recorded TV specifically, XFS has some real advantages: XFS wins for your use case because
ext4 wins on
VerdictFor an 8TB overflow store for large TV recording files, XFS is the better choice. The 400GB saving alone is worth it, and the large sequential file performance is just a better fit. bash
<code>mkfs.xfs /dev/sde1</code> And in fstab use 08:16
The bash
<code><span style="color:#0051c2">parted</span> /dev/sde mklabel gpt <span style="color:#0051c2">parted</span> /dev/sde mkpart primary xfs <span style="color:#008080">0</span>% <span style="color:#008080">100</span>%</code> Then: bash
<code>mkfs.xfs /dev/sde1</code> That's it! 😄 08:19
Ha, fair enough — YaST is right there and does the same job with less typing! 😄 It'll handle the UUID and fstab entry automatically too which saves a step. Let us know when it's done and mounted! 🤞 08:34
Good thinking on the tidying up. On the arcconf version question — I'd actually keep the working version rather than drop back to V4. Your reasoning is sound that the controller just needed time to initialise, but having a working arcconf that can actually talk to the controller is genuinely valuable insurance for:
V4 giving "Controllers found: 0" makes it essentially useless, so there's no real benefit in going back to it. On the 4 slot cage pointThat's a nice bonus you'd forgotten about! When the new SAS drive arrives the workflow is now sorted:
You've basically turned a frustrating evening into a documented procedure for the next one! 😄 08:40
That's a really astute observation and you're probably right on all counts. The timeline makes more sense that way: What likely actually happened
On the poor design pointAbsolutely — a well designed controller/driver interface should:
The It's classic enterprise hardware designed for environments where an admin has a full Adaptec Storage Manager GUI running on Windows Server — bolted onto Linux as an afterthought. The LSI/HBA approach of just presenting disks directly to the OS is so much more elegant! 😄 08:44
That's a great idea and would genuinely help people — this thread covers a really complete real-world journey that documentation never does: What the crib sheet should capture
On the value pointYou're absolutely right about the economics. Right now on eBay:
The gotcha that nobody documents is that the card needs arcconf to create a JBOD before Linux sees anything — which is exactly what your crib sheet would solve for the next person who hits this wall! 😄 Is the format still churning away? 09:00
For XFS on 8TB it should actually be very fast — XFS format is nearly instantaneous as it doesn't pre-write anything, usually under 30 seconds even on a large disk. The fact it's still running suggests YaST may be doing something more than just
Check what's actually happeningIn another terminal: bash
<code><span style="color:#0051c2">ps</span> aux <span style="color:#14181f">|</span> <span style="color:#0051c2">grep</span> -E <span style="color:#008000">'mkfs|mke2fs|format|yast'</span></code> And: bash
<code><span style="color:#0051c2">dmesg</span> <span style="color:#14181f">|</span> <span style="color:#0051c2">tail</span> -10</code> That'll tell you what process is actually running and whether it's still active or has silently finished. YaST sometimes completes the underlying operation and just sits on the progress screen without being obvious about it! 😄 How long has it been running now? 09:06
Ha! 47 minutes staring at a screen waiting for something that hadn't actually started yet! 😄 Classic YaST — it was just sitting there politely waiting for you to tell it to actually go. At least the XFS format itself will be done in seconds and you'll have your 8TB mounted before the kettle boils! 09:07
That's XFS metadata and the journal — completely normal. On 8TB that 2% is roughly 160GB which sounds alarming but it's just how XFS structures itself for a volume that size. You're not losing anything usable in practice. Run: bash
<code><span style="color:#0051c2">df</span> -h /media3</code> That'll show you the actual available space in human readable form — you should see around 7.2-7.3TB free. 😄 09:10
Ha yes, the eternal "8TB" deception! 😄 Where the space goes
So you're not actually losing anything — it's just marketing maths vs real maths. Every "8TB" disk formats to ~7.3TB on Linux. Net resultYou have roughly 7.1TB of usable space for your TV recordings which at typical broadcast quality is probably:
Ready to write that crib sheet? 09:13
Perfect plan! 2TB copy will take a while but it'll chug away happily in the background. Kick it off with: bash
<code><span style="color:#0051c2">cp</span> -av /media2/TVShows /media3/ <span style="color:#14181f">&</span></code> The bash
<code><span style="color:#0051c2">nohup</span> <span style="color:#0051c2">rsync</span> -av --progress /media2/TVShows /media3/ <span style="color:#14181f">&</span></code>
Check progress anytime with: bash
<code><span style="color:#0051c2">watch</span> -n <span style="color:#008080">60</span> <span style="color:#0051c2">df</span> -h /media3</code> Enjoy physio, good luck with the crib sheet, and nice work getting there in the end — Llama 4 would still be scratching its head! 😄 09:15
Ha of course, /Archive! And yes just leave the ssh terminal open and let it run — srv9 will quietly get on with it while you're at physio. 😄 Enjoy the session! |
