I changed machines to a raspberry pi. Could it be that when I assembled the array, I did it as raid 0 when it needed to be raid 1? The reason I ask this is because I see this from lsblk as in:
? Should i have been:
If I resamble it as a raid 1, will it destroy the data?
I created a RAID 5 array and when I list out the attributes of the "hdisk" it reports back raid_level = 5 but the RAID level of the array = false. What does this actually indicate about my array? I've never paid much attention to this until now since I have a disk reporting failure I want to make... (0 Replies)
Hi guys,
i must install an old old old ml370 server...
I must create a RAID 5 with my 4 SCSI disk.
I need a SmartStart disk for create it or a Floppy Disk called "Array configuration Tool". I don't find it on the hp website...:mad::mad::mad:
Anyone have it??
Thanks in advance.
Zio (0 Replies)
Hi Peeps,
Can anyone help me an EFI lablel on a 3510 raid array that I cannot get rid of, format -e and label just asks you if you want to label it. Want an SMI label writing to it.
Anyone got any ideas on how to remove the EFI label?
Thanks in advance
Martin (2 Replies)
One of my very old drive farm servers had an OS fault and can't boot now but I'd like to restore some files from it. I tried booting Ubuntu from a CD, but it couldn't see the drives -- possibly because they're RAIDed together. Is there a good way to get at my files?
The data in question is a... (2 Replies)
Dear all ,
i ve configured raid 0 in redhat machine(VM ware), by following steps:
#mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdc1
#mkfs.ext3 /dev/md0
#mdadm --detail --scan --config=mdadm.conf >/etc/mdadm.conf
then
mounted the/dev/md0 device and also added a entry in fstab.
how... (2 Replies)
I am installing a Debian Server on a:
HP Proliant DL380 G4
Dual CPU's 3.20 ghz / 800 mhz / 1MB L2
5120 MB RAM
6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each)
I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
No rest for the weary, a Revive Ad Server I am responsible for experienced a MySQL injection attack due to a vulnerability uncovered in the past few months. I was busy developing Vue.js code for the forums and thought to myself "I will get around to upgrading to Revive 4.2.0 (supposedly the... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT CENTOS
mkfs.btrfs
MKFS.BTRFS(8) System Manager's Manual MKFS.BTRFS(8)NAME
mkfs.btrfs - create a btrfs filesystem
SYNOPSIS
mkfs.btrfs [ -A alloc-start ] [ -b byte-count ] [ -d data-profile ] [ -f ] [ -n nodesize ] [ -l leafsize ] [ -L label ] [ -m metadata pro-
file ] [ -M mixed data+metadata ] [ -s sectorsize ] [ -r rootdir ] [ -K ] [ -O feature1,feature2,... ] [ -h ] [ -V ]
device [ device ... ]
DESCRIPTION
mkfs.btrfs is used to create a btrfs filesystem (usually in a disk partition, or an array of disk partitions). device is the special file
corresponding to the device (e.g /dev/sdXX ). If multiple devices are specified, btrfs is created spanning across the specified
devices.
OPTIONS -A, --alloc-start offset
Specify the offset from the start of the device to start the btrfs filesystem. The default value is zero, or the start of the
device.
-b, --byte-count size
Specify the size of the resultant filesystem. If this option is not used, mkfs.btrfs uses all the available storage for the filesys-
tem.
-d, --data type
Specify how the data must be spanned across the devices specified. Valid values are raid0, raid1, raid5, raid6, raid10 or single.
-f, --force
Force overwrite when an existing filesystem is detected on the device. By default, mkfs.btrfs will not write to the device if it
suspects that there is a filesystem or partition table on the device already.
-n, --nodesize size
-l, --leafsize size Specify the nodesize, the tree block size in which btrfs stores data. The default value is the page size. Must
be a multiple of the sectorsize, but not larger than 65536. Leafsize always equals nodesize and the options are aliases.
-L, --label name
Specify a label for the filesystem.
-m, --metadata profile
Specify how metadata must be spanned across the devices specified. Valid values are raid0, raid1, raid5, raid6, raid10, single or
dup. Single device will have dup set by default except in the case of SSDs which will default to single. This is because SSDs can
remap blocks internally so duplicate blocks could end up in the same erase block which negates the benefits of doing metadata dupli-
cation.
-M, --mixed
Mix data and metadata chunks together for more efficient space utilization. This feature incurs a performance penalty in larger
filesystems. It is recommended for use with filesystems of 1 GiB or smaller.
-s, --sectorsize size
Specify the sectorsize, the minimum data block allocation unit. The default value is the page size. If the sectorsize differs from
the page size, the created filesystem may not be mountable by current kernel. Therefore it is not recommended to use this option
unless you are going to mount it on a system with the appropriate page size.
-r, --rootdir rootdir
Specify a directory to copy into the newly created fs.
-K, --nodiscard
Do not perform whole device TRIM operation by default.
-O, --features feature1,feature2,...
A list of filesystem features turned on at mkfs time. Not all features are supported by old kernels.
To see all run
mkfs.btrfs -O list-all
-V, --version
Print the mkfs.btrfs version and exit.
UNIT
As default the unit is the byte, however it is possible to append a suffix to the arguments like k for KBytes, m for MBytes...
AVAILABILITY
mkfs.btrfs is part of btrfs-progs. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and
review. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details.
SEE ALSO btrfsck(8)MKFS.BTRFS(8)