Hi all, I am trying to follow the instructions from the Quick Start guide, but I am running into problems when issuing the following command: mkfs.xfs -i size=512 /dev/sdb1 /dev/sdb1: No such file or directory If I create the sdb1 folder in the /dev folder I get the following error when issuing the mkfs.xfs command mkfs.xfs: cannot open /dev/sdb1: Is a directory Any assistance would be most helpful. Thanks, Kurt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131217/4920b1d2/attachment.html>
On 17.12.2013 21:22, Knut Moe wrote:> Hi all, > > I am trying to follow the instructions from the Quick Start guide, but > I am > running into problems when issuing the following command: > > mkfs.xfs -i size=512 /dev/sdb1 > > /dev/sdb1: No such file or directory > > If I create the sdb1 folder in the /dev folder I get the following > error > when issuing the mkfs.xfs command > > mkfs.xfs: cannot open /dev/sdb1: Is a directory > > Any assistance would be most helpful.Kurt, I urge you to cover some linux basics before getting into Glusterfs. Copying blindly without understanding what you are doing is a recipe for disaster. /dev/sdb1 in a linux system points to the 1st partition of the 2nd SCSI/SATA drive. Drives are labeled sda, sdb, sdc and so on (hda, hdb, hdc etc for old IDE drives); partitions are represented via numbers. Check http://www.cyberciti.biz/faq/linux-list-disk-partitions-command/ http://rute.2038bug.com/node22.html.gz and other sites.. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
I think the instructions there is referring to a separate disk partition (sdb1). If you don't have one, you can create a loopback storage device. Example: truncate -s 5GB /srv/gluster-disk mkfs.xfs -i size=512 /srv/gluster-disk On Tue, 2013-12-17 at 14:22 -0700, Knut Moe wrote:> Hi all, > > I am trying to follow the instructions from the Quick Start guide, but > I am running into problems when issuing the following command: > > mkfs.xfs -i size=512 /dev/sdb1 > > /dev/sdb1: No such file or directory > > If I create the sdb1 folder in the /dev folder I get the following > error when issuing the mkfs.xfs command > > mkfs.xfs: cannot open /dev/sdb1: Is a directory > > Any assistance would be most helpful. > > Thanks, > Kurt > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131217/c425410d/attachment.html>