How do I use available hard drives in this system?












0















I am not very experienced Ubuntu user, and I have an Ubuntu server to use for some calculations. The server has several hard drives and SSD-s. The hard drive seems to be in RAID 5 set up.



The thing that confuses me is available disk space:



Filesystem      Size  Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.8M 38G 1% /run
/dev/sda2 880G 205G 630G 25% /
tmpfs 189G 36K 189G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4917
tmpfs 38G 52K 38G 1% /run/user/1000


to me it seems like /dev/sda2 is main partition to store files and it belongs to one SSD. So if I will fill system with files on 630 GB I'll run out of space.



fdisk -l   

Disk /dev/loop0: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x695d460b

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1875385007 1875382960 894.3G 83 Linux


Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E9A19E53-9515-4DD4-BD81-2FDBB653EB0A

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1875382271 1875378176 894.3G Linux filesystem


Disk /dev/md127: 3.5 TiB, 3840246022144 bytes, 7500480512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 2097152 bytes


Disk /dev/sdc: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdd: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sde: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdf: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


And lsblk output:



:/$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 86.9M 1 loop /snap/core/4917
sda 8:0 0 894.3G 0 disk
ââsda1 8:1 0 1M 0 part
ââsda2 8:2 0 894.3G 0 part /
sdb 8:16 0 894.3G 0 disk
ââsdb1 8:17 0 894.3G 0 part
ââmd127 9:127 0 3.5T 0 raid5
sdc 8:32 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdd 8:48 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sde 8:64 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdf 8:80 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5


I tried to create new partition on /dev/sdb and it was successful. But when I tried to format it with sudo mkfs -t ext4 /dev/sdb1 system tells me that partition apparently in use by the system and this new partition is not displayed in df -h output.



Can someone explain set up of this system and how do I proceed? I do not really understand how do I use RAID5 hard drives and SSDs.










share|improve this question























  • Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

    – olivierb2
    Jan 21 at 15:59
















0















I am not very experienced Ubuntu user, and I have an Ubuntu server to use for some calculations. The server has several hard drives and SSD-s. The hard drive seems to be in RAID 5 set up.



The thing that confuses me is available disk space:



Filesystem      Size  Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.8M 38G 1% /run
/dev/sda2 880G 205G 630G 25% /
tmpfs 189G 36K 189G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4917
tmpfs 38G 52K 38G 1% /run/user/1000


to me it seems like /dev/sda2 is main partition to store files and it belongs to one SSD. So if I will fill system with files on 630 GB I'll run out of space.



fdisk -l   

Disk /dev/loop0: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x695d460b

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1875385007 1875382960 894.3G 83 Linux


Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E9A19E53-9515-4DD4-BD81-2FDBB653EB0A

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1875382271 1875378176 894.3G Linux filesystem


Disk /dev/md127: 3.5 TiB, 3840246022144 bytes, 7500480512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 2097152 bytes


Disk /dev/sdc: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdd: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sde: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdf: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


And lsblk output:



:/$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 86.9M 1 loop /snap/core/4917
sda 8:0 0 894.3G 0 disk
ââsda1 8:1 0 1M 0 part
ââsda2 8:2 0 894.3G 0 part /
sdb 8:16 0 894.3G 0 disk
ââsdb1 8:17 0 894.3G 0 part
ââmd127 9:127 0 3.5T 0 raid5
sdc 8:32 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdd 8:48 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sde 8:64 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdf 8:80 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5


I tried to create new partition on /dev/sdb and it was successful. But when I tried to format it with sudo mkfs -t ext4 /dev/sdb1 system tells me that partition apparently in use by the system and this new partition is not displayed in df -h output.



Can someone explain set up of this system and how do I proceed? I do not really understand how do I use RAID5 hard drives and SSDs.










share|improve this question























  • Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

    – olivierb2
    Jan 21 at 15:59














0












0








0








I am not very experienced Ubuntu user, and I have an Ubuntu server to use for some calculations. The server has several hard drives and SSD-s. The hard drive seems to be in RAID 5 set up.



The thing that confuses me is available disk space:



Filesystem      Size  Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.8M 38G 1% /run
/dev/sda2 880G 205G 630G 25% /
tmpfs 189G 36K 189G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4917
tmpfs 38G 52K 38G 1% /run/user/1000


to me it seems like /dev/sda2 is main partition to store files and it belongs to one SSD. So if I will fill system with files on 630 GB I'll run out of space.



fdisk -l   

Disk /dev/loop0: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x695d460b

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1875385007 1875382960 894.3G 83 Linux


Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E9A19E53-9515-4DD4-BD81-2FDBB653EB0A

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1875382271 1875378176 894.3G Linux filesystem


Disk /dev/md127: 3.5 TiB, 3840246022144 bytes, 7500480512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 2097152 bytes


Disk /dev/sdc: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdd: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sde: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdf: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


And lsblk output:



:/$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 86.9M 1 loop /snap/core/4917
sda 8:0 0 894.3G 0 disk
ââsda1 8:1 0 1M 0 part
ââsda2 8:2 0 894.3G 0 part /
sdb 8:16 0 894.3G 0 disk
ââsdb1 8:17 0 894.3G 0 part
ââmd127 9:127 0 3.5T 0 raid5
sdc 8:32 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdd 8:48 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sde 8:64 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdf 8:80 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5


I tried to create new partition on /dev/sdb and it was successful. But when I tried to format it with sudo mkfs -t ext4 /dev/sdb1 system tells me that partition apparently in use by the system and this new partition is not displayed in df -h output.



Can someone explain set up of this system and how do I proceed? I do not really understand how do I use RAID5 hard drives and SSDs.










share|improve this question














I am not very experienced Ubuntu user, and I have an Ubuntu server to use for some calculations. The server has several hard drives and SSD-s. The hard drive seems to be in RAID 5 set up.



The thing that confuses me is available disk space:



Filesystem      Size  Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.8M 38G 1% /run
/dev/sda2 880G 205G 630G 25% /
tmpfs 189G 36K 189G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4917
tmpfs 38G 52K 38G 1% /run/user/1000


to me it seems like /dev/sda2 is main partition to store files and it belongs to one SSD. So if I will fill system with files on 630 GB I'll run out of space.



fdisk -l   

Disk /dev/loop0: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x695d460b

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1875385007 1875382960 894.3G 83 Linux


Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E9A19E53-9515-4DD4-BD81-2FDBB653EB0A

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1875382271 1875378176 894.3G Linux filesystem


Disk /dev/md127: 3.5 TiB, 3840246022144 bytes, 7500480512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 2097152 bytes


Disk /dev/sdc: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdd: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sde: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdf: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


And lsblk output:



:/$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 86.9M 1 loop /snap/core/4917
sda 8:0 0 894.3G 0 disk
ââsda1 8:1 0 1M 0 part
ââsda2 8:2 0 894.3G 0 part /
sdb 8:16 0 894.3G 0 disk
ââsdb1 8:17 0 894.3G 0 part
ââmd127 9:127 0 3.5T 0 raid5
sdc 8:32 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdd 8:48 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sde 8:64 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5
sdf 8:80 0 894.3G 0 disk
ââmd127 9:127 0 3.5T 0 raid5


I tried to create new partition on /dev/sdb and it was successful. But when I tried to format it with sudo mkfs -t ext4 /dev/sdb1 system tells me that partition apparently in use by the system and this new partition is not displayed in df -h output.



Can someone explain set up of this system and how do I proceed? I do not really understand how do I use RAID5 hard drives and SSDs.







command-line partitioning hard-drive filesystem partitions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 21 at 15:42









user1972060user1972060

1164




1164













  • Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

    – olivierb2
    Jan 21 at 15:59



















  • Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

    – olivierb2
    Jan 21 at 15:59

















Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

– olivierb2
Jan 21 at 15:59





Did you get an error if you do blockdev --rereadpt /dev/sdb, this is used to refresh partition table of a drive.

– olivierb2
Jan 21 at 15:59










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111694%2fhow-do-i-use-available-hard-drives-in-this-system%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111694%2fhow-do-i-use-available-hard-drives-in-this-system%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕