You are not logged in.
Is this normal? I have an up to date Arch Linux install, and using parted, formatted 4 HDs to put in my server (which run RHEL 6).
In the past, I've always formatted drives on my RHEL 6 servers, and they've worked fine. But this time. I ran the same exact commands on Arch, and they aren't recognized by RHEL 6.
Could this be because Arch is so much newer?
I ran the rolling commands:
sudo parted /dev/sdh
(parted) mklabel gpt
(parted) unit TB
(parted) mkpart primary 0 -0
(parted) quit
mkfs.ext4 /dev/sdh1
#mount
e2label /dev/sdh1 LABEL_NAME
On my server, I only see the /dev/sda, not the sda1 partition, and when inspecting with parted, I see "Error: /dev/sda: unrecognised disk label"
Any ideas?
Offline
No am not familiar with parted (gdisk guy), so I can't judge the accuracy of your formatting commands. When you have all of the HDs in the RHEL6 box, what is output of `lsblk -f`? Since you formatted the partition to ext4, you should see it appear.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks for the reply.
Here is the output.
[root@server02 ~]# lsblk -f
NAMES FSTYPE LABEL UUID MOUNTPOINT
sda
sdb
sdc
sdd
sde
├─sde1 ext4 cfpyh9ff-caea-4921-8d89-fe7blkh55c0a /boot
Offline
Based on that output, you did not create a filesystem on the 4 disks. If you then move one of them back to your Arch system or if you just boot the Arch Live CD on the RHEL6 box and repeat the `lsblk -f`?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It works on Arch.
I managed to fix this (and not lose my data), by running parted again. I ran all commands except mkfs.ext4, and I could mount it, and didn't lose my data.
Still, it's strange. It has to be because the version of parted on Arch is much newer.... Still, that stuff should be backwards compatible.....
Offline