* [RFD]: Help in setting up XFS @ 2014-08-18 4:52 Prithvi Rathore 2014-08-18 7:03 ` Dave Chinner 0 siblings, 1 reply; 8+ messages in thread From: Prithvi Rathore @ 2014-08-18 4:52 UTC (permalink / raw) To: xfs [-- Attachment #1.1: Type: text/plain, Size: 533 bytes --] Hi, As the subject states, I would like to setup and use XFS on an external USB drive. I am currently using Ubuntu 14.04 on MacBook Air 2013. My understanding is: 1) I will have to install the packages $ sudo apt-get install xfsprogs $ sudo apt-get install xfsdump 2) I will have to create the filesystem for the USB drive $ mkfs.xfs -f dev/sdab1 -f option needed to overwrite any exisitng filesytem I would appreciate if you could add any comments or guide me for the same. Thanking you in anticipation [-- Attachment #1.2: Type: text/html, Size: 776 bytes --] [-- Attachment #2: Type: text/plain, Size: 121 bytes --] _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFD]: Help in setting up XFS 2014-08-18 4:52 [RFD]: Help in setting up XFS Prithvi Rathore @ 2014-08-18 7:03 ` Dave Chinner 2014-08-18 9:30 ` Prithvi Rathore 0 siblings, 1 reply; 8+ messages in thread From: Dave Chinner @ 2014-08-18 7:03 UTC (permalink / raw) To: Prithvi Rathore; +Cc: xfs On Mon, Aug 18, 2014 at 10:22:37AM +0530, Prithvi Rathore wrote: > Hi, > As the subject states, I would like to setup and use XFS on an external USB drive. I am currently using Ubuntu 14.04 on MacBook Air 2013. > My understanding is: > > 1) I will have to install the packages > $ sudo apt-get install xfsprogs > $ sudo apt-get install xfsdump > > 2) I will have to create the filesystem for the USB drive > $ mkfs.xfs -f dev/sdab1 > -f option needed to overwrite any exisitng filesytem And then mount it appropriately and it will be ready to use. Nothing more. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [RFD]: Help in setting up XFS 2014-08-18 7:03 ` Dave Chinner @ 2014-08-18 9:30 ` Prithvi Rathore 2014-08-18 10:25 ` Carlos E. R. 2014-08-18 13:11 ` Dave Chinner 0 siblings, 2 replies; 8+ messages in thread From: Prithvi Rathore @ 2014-08-18 9:30 UTC (permalink / raw) To: Dave Chinner, xfs@oss.sgi.com [-- Attachment #1.1: Type: text/plain, Size: 1159 bytes --] Hi Dave, I really appreciate you help in this matter. > Date: Mon, 18 Aug 2014 17:03:12 +1000 > From: david@fromorbit.com > To: prithvi_rathore@outlook.com > CC: xfs@oss.sgi.com > Subject: Re: [RFD]: Help in setting up XFS > > On Mon, Aug 18, 2014 at 10:22:37AM +0530, Prithvi Rathore wrote: > > Hi, > > As the subject states, I would like to setup and use XFS on an external USB drive. I am currently using Ubuntu 14.04 on MacBook Air 2013. > > My understanding is: > > > > 1) I will have to install the packages > > $ sudo apt-get install xfsprogs > > $ sudo apt-get install xfsdump > > > > 2) I will have to create the filesystem for the USB drive > > $ mkfs.xfs -f dev/sdab1 > > -f option needed to overwrite any existing filesytem > And then mount it appropriately and it will be ready to use. > Nothing more. About the part where you say mount it properly, I just wanted to check if this is correct. 1)Create a mount point. $ mkdir /mnt/dat1 2)Mount the drive. $ mount -t xfs /dev/sdc1 /mnt/dat1 And i will have to do this every time I want to use the pendrive Warm Regards, Prithvi [-- Attachment #1.2: Type: text/html, Size: 1589 bytes --] [-- Attachment #2: Type: text/plain, Size: 121 bytes --] _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [RFD]: Help in setting up XFS 2014-08-18 9:30 ` Prithvi Rathore @ 2014-08-18 10:25 ` Carlos E. R. 2014-08-18 13:20 ` Dave Chinner 2014-08-18 13:11 ` Dave Chinner 1 sibling, 1 reply; 8+ messages in thread From: Carlos E. R. @ 2014-08-18 10:25 UTC (permalink / raw) To: XFS mailing list [-- Attachment #1: Type: TEXT/PLAIN, Size: 793 bytes --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.2.11.1408181224240.5417@Telcontar.valinor> On Monday, 2014-08-18 at 15:00 +0530, Prithvi Rathore wrote: > About the part where you say mount it properly, I just wanted to check if this is correct. > > 1)Create a mount point. > $ mkdir /mnt/dat1 Just plug in the stick and click on the icon to mount it. No different than any other filesystem. If it doesn't work, just ask on the help forum or mail lists of your distribution. - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlPx1LUACgkQtTMYHG2NR9Xm5wCgiOtmi49VqkGLNsvs7UsJzLN5 d4cAn04RTjfL3Di13AStVgR4+UJVvgV6 =paC3 -----END PGP SIGNATURE----- [-- Attachment #2: Type: text/plain, Size: 121 bytes --] _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFD]: Help in setting up XFS 2014-08-18 10:25 ` Carlos E. R. @ 2014-08-18 13:20 ` Dave Chinner 2014-08-18 14:47 ` Carlos E. R. 0 siblings, 1 reply; 8+ messages in thread From: Dave Chinner @ 2014-08-18 13:20 UTC (permalink / raw) To: Carlos E. R.; +Cc: XFS mailing list On Mon, Aug 18, 2014 at 12:25:57PM +0200, Carlos E. R. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Content-ID: <alpine.LSU.2.11.1408181224240.5417@Telcontar.valinor> > > > On Monday, 2014-08-18 at 15:00 +0530, Prithvi Rathore wrote: > > >About the part where you say mount it properly, I just wanted to check if this is correct. > > > >1)Create a mount point. > > $ mkdir /mnt/dat1 > > Just plug in the stick and click on the icon to mount it. No > different than any other filesystem. That doesn't work for machines with no desktop or ones that you access via ssh. Learn the command line first then you can always get the machine to do what you want regardless of how you need to access it. Indeed, typing commands is often faster than using the mouse, especially if you know how to use command history search effectively... > If it doesn't work, just ask on the help forum or mail lists of your > distribution. That's just wrong. If you've got an XFS problem or question, then this mailing list is exactly the right place to be asking for help. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFD]: Help in setting up XFS 2014-08-18 13:20 ` Dave Chinner @ 2014-08-18 14:47 ` Carlos E. R. 2014-08-19 2:25 ` Dave Chinner 0 siblings, 1 reply; 8+ messages in thread From: Carlos E. R. @ 2014-08-18 14:47 UTC (permalink / raw) To: XFS mailing list -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2014-08-18 at 23:20 +1000, Dave Chinner wrote: > On Mon, Aug 18, 2014 at 12:25:57PM +0200, Carlos E. R. wrote: >> Just plug in the stick and click on the icon to mount it. No >> different than any other filesystem. > > That doesn't work for machines with no desktop or ones that you > access via ssh. Learn the command line first then you can always get > the machine to do what you want regardless of how you need to access > it. Indeed, typing commands is often faster than using the mouse, > especially if you know how to use command history search > effectively... I use the CLI method myself, but I don't see the point on novices using it when there are modern methods far easier :-) Me, I would make sure the filesystem gets a label, and probably create an entry in fstab using that label, with the "user" option so that plain users can mount it. Then we have to add a directory as root owned by that user inside the stick so that he can write. Anyway, the procedure is the same for any Linux filesystem (but not for NTFS or FAT), not specific to XFS. >> If it doesn't work, just ask on the help forum or mail lists of your >> distribution. > > That's just wrong. If you've got an XFS problem or question, then > this mailing list is exactly the right place to be asking for help. IMHO no, because, for instance, the method for installation differs in each distribution, and their help forums should be more suited for such a basic guidance. Anyway, mounting or creating an XFS stick is the same as for ext4, btrfs, fat, reiserfs... I do a lot of that guidance, have been doing it for well over a decade ;-) And each distribution has specifics. On ubuntu you probably need to do "sudo mount ...", a plain mount should fail. So if the generalized help an upstream mail list can provide, the best place to ask for help is the specific help forum of that distribution, as they will probably know best the easiest way to install and use the tools they provide. But that's just my opinion :-) - -- Cheers, Carlos E. R. (from openSUSE 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlPyEhgACgkQtTMYHG2NR9W1HgCdFiMBjJc6sCCdPAKNL6mm43rR kQQAn0YjyEe0mkyNvlz08KkokepB8g1M =sSfH -----END PGP SIGNATURE----- _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFD]: Help in setting up XFS 2014-08-18 14:47 ` Carlos E. R. @ 2014-08-19 2:25 ` Dave Chinner 0 siblings, 0 replies; 8+ messages in thread From: Dave Chinner @ 2014-08-19 2:25 UTC (permalink / raw) To: Carlos E. R.; +Cc: XFS mailing list On Mon, Aug 18, 2014 at 04:47:36PM +0200, Carlos E. R. wrote: > On Monday, 2014-08-18 at 23:20 +1000, Dave Chinner wrote: > >On Mon, Aug 18, 2014 at 12:25:57PM +0200, Carlos E. R. wrote: > >>Just plug in the stick and click on the icon to mount it. No > >>different than any other filesystem. > > > >That doesn't work for machines with no desktop or ones that you > >access via ssh. Learn the command line first then you can always get > >the machine to do what you want regardless of how you need to access > >it. Indeed, typing commands is often faster than using the mouse, > >especially if you know how to use command history search > >effectively... > > I use the CLI method myself, but I don't see the point on novices > using it when there are modern methods far easier :-) That's quite disrespectful and condescending towards new users who are trying to learn new skills - you were once a novice, too. To make my point unambiguously clear, I'll repeat what you just said as it came across to me: 'I'm an expert and I know the CLI, but I think he is a dumb n00b so I gave him a solution I think is appropriate for dumb n00bs even though I know I'm not answering the question he asked.' Does that sound like appropriate "guidance" to you? But I'll give you the benefit of the doubt - I've seen this often enough to know that frequently people are not even aware they are making unconcious judgements like this until they are pointed out. Especially as you've done is again in this email: > And each distribution has specifics. On ubuntu you probably need to > do "sudo mount ...", a plain mount should fail. So if the > generalized help an upstream mail list can provide, the best place > to ask for help is the specific help forum of that distribution, as > they will probably know best the easiest way to install and use the > tools they provide. You are implying that the XFS community doesn't have the knowledge or experience to support XFS users from different distros. You are also implying that we don't care about our users enough to try to help them in such situations where the problem is a distro specific quirk. Years of experience has taught us that distro quirks really don't matter anywhere near as much as, say, the version of software being used. Also, I suspect that you don't realise that we have all the major distro XFS userspace package maintainers and the relevant distro kernel filesystem maintainers on the list and listening in. We actually have more distro specific storage infrastructure expertise (not to mention overall storage expertise) on this list than you'll find in most individual distro support forums. This is a highly technical community and we tend to have high standards w.r.t. to the quality of responses given to users. If you want to provide help to XFS users - new or experienced - on this list, then please give relevant, respectful answers to questions without trying to demonstrate your expertise to everyone. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFD]: Help in setting up XFS 2014-08-18 9:30 ` Prithvi Rathore 2014-08-18 10:25 ` Carlos E. R. @ 2014-08-18 13:11 ` Dave Chinner 1 sibling, 0 replies; 8+ messages in thread From: Dave Chinner @ 2014-08-18 13:11 UTC (permalink / raw) To: Prithvi Rathore; +Cc: xfs@oss.sgi.com On Mon, Aug 18, 2014 at 03:00:31PM +0530, Prithvi Rathore wrote: > Hi Dave, > I really appreciate you help in this matter. > > > Date: Mon, 18 Aug 2014 17:03:12 +1000 > > From: david@fromorbit.com > > To: prithvi_rathore@outlook.com > > CC: xfs@oss.sgi.com > > Subject: Re: [RFD]: Help in setting up XFS > > > > On Mon, Aug 18, 2014 at 10:22:37AM +0530, Prithvi Rathore wrote: > > > Hi, > > > As the subject states, I would like to setup and use XFS on an external USB drive. I am currently using Ubuntu 14.04 on MacBook Air 2013. > > > My understanding is: > > > > > > 1) I will have to install the packages > > > $ sudo apt-get install xfsprogs > > > $ sudo apt-get install xfsdump > > > > > > 2) I will have to create the filesystem for the USB drive > > > $ mkfs.xfs -f dev/sdab1 > > > -f option needed to overwrite any existing filesytem > > > And then mount it appropriately and it will be ready to use. > > Nothing more. > > About the part where you say mount it properly, I just wanted to check if this is correct. > > 1)Create a mount point. > $ mkdir /mnt/dat1 > > 2)Mount the drive. > $ mount -t xfs /dev/sdc1 /mnt/dat1 mount will work out that it contains XFS and do the right thing automatically. i.e. this should work just fine: $ mount /dev/sdc1 /mnt/dat1 Look in dmesg to see what happens at the kernel level when you run the command, and compare the difference with and without the "-t xfs".... > And i will have to do this every time I want to use the pendrive Only the mount command. the mount point won't go away unless you remove it. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-08-19 2:25 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-18 4:52 [RFD]: Help in setting up XFS Prithvi Rathore 2014-08-18 7:03 ` Dave Chinner 2014-08-18 9:30 ` Prithvi Rathore 2014-08-18 10:25 ` Carlos E. R. 2014-08-18 13:20 ` Dave Chinner 2014-08-18 14:47 ` Carlos E. R. 2014-08-19 2:25 ` Dave Chinner 2014-08-18 13:11 ` Dave Chinner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox