New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to boot from 1Tb external USB drive #1439
Comments
Hi @deonlinux, Before we go any further; can you please try with configuration similar to following:
V. |
@deonlinux V. |
Yes, drive was formatted with rear format cmd |
You might have really hit some limits, so I can only guess from now on.
or maybe try to create smaller partition on your disk using:
Full list can be find in default.conf V. |
The suggestion of specifying gpt worked!!! |
If this is really a size limit then we should warn the user that it won't work. Maybe we can default to GPT if this is an EFI system? |
@deonlinux, you are always welcome. Hi @schlomo we are already doing this. Excerpt from default.conf comment:
@jsmeix if I did not mention it earlier, thanks for your great comments!!! V. |
@gozora I am not sure about that. As far as I can understand 300_format_usb_disk.sh there is no auto detect mechanism for I think that the code actually has two paths:
So to make @deonlinux happy we probably should have two types of auto detect here:
|
@gozora if is_true "$EFI" ; then so that it depends on when "$EFI" has a 'true' value. rear -v format -- --efi --force /dev/sdX Note the mandatory '--' before the format workflow specific |
In general regarding using modern things |
My apologies - used the wrong disk enclosure (250Gb). |
@deonlinux I think you should try to narrow down the issue that you see.
Just some ideas of what I would be trying. BTW, restoring 1TB over USB2 will take a while... If this is urgent and you want somebody to replicate your environment or work with your hands-on then please consider commercial support |
Hi Schlomo. I did some further tests:
So, unless I locate an USB2 enclosure I cannot conclude that it is USB3 related. Despite all the technical docs on these enclosures saying the will work with up to 3TB drives! I will report back if I have some more news. |
If it works with a SATA connection then I would suspect the BIOS in your server. Can you use SATA instead of USB for your production use case? If the server has an eSATA connector then I would even recommend that (although you might have to invest some effort into ensuring that the recovery happens to the internal disk and not the external one) for performance reasons. The alignment errors are likely the result of different tools (parted, sfdisk ...) used by different distros. Finally, could it be that you happen to have a 4k drive? |
Yes indeed the Seagate Baracuda 1TB does have 4k sectors. |
Wow, first time ever that I hear about someone with such a drive. Would be interesting to see if the problem goes away if you find a 1TB drive with 512b sectors. If it is really the 4k issue then it might indeed be an issue at the BIOS level. Does that server also support UEFI? You might have more success using UEFI boot in such a case. |
I have finally managed to obtain an enclosure with a USB2 interface. .The issue persists so it is definitely related to the 4k issue. Tested the default and gpt. I am not that familiar with setting up boot structures on drives. My attempt to format the drive with gparted and then just copied the different files across did not work. Attempting to use syslinux to install to the disk fails - it says it needs a FAT partition. Perhaps there are other methods/cmds I can try? Trying to understand the rear scripts is mindblowing! Much more complex that I am used to! |
One more thing. The bios does support UEFI but does not offer it for the drive. I expect it does not detect the drive as being UEFI capable? The BIOS was updated but the last time Intel released a bios update for this motherboard was in 2011. |
You can try http://blog.schlomo.schapiro.org/2013/11/magic-iso-image-booting-with-gnu-grub-2.html or other similar guides. For UEFI look at guides like https://askubuntu.com/questions/395879/how-to-create-uefi-only-bootable-usb-live-media. |
@deonlinux Are your questions answered? |
Because there are no further comments |
Relax-and-Recover (ReaR) Issue Template
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
rear version (/usr/sbin/rear -V):Relax-and-Recover 2.2 / Git
OS version (cat /etc/rear/os.conf or lsb_release -a):
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final
rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
Using external Manhattan SATA 3.5 " enclosure, USB3 interface connected to Intel Server USB2 interface. Intel S1200BC server motherboard. Unable to boot from external after creating Recovery & Backup.
Note: Smaller Sata disk (250Gb tried) works fine. Suspect Grub limitation (large number of cyl)? log has no errors.
Yet Centos can create bootdisk successfully on 1TB. Creates 2 partitions though (LVM).
Included files from /tmp folder during backup creation for 1TB disk:
fdisk_output.txt
parted.txt
partitions.txt
partitions-data.txt
partitions_unsorted.txt
The text was updated successfully, but these errors were encountered: