* uuid for nilfs partition?
@ 2010-05-24 14:29 Darien Large
[not found] ` <4BFA8D5B.6000700-RrB2l6sP9Nll57MIdRCFDg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Darien Large @ 2010-05-24 14:29 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
I'm using nilfs2 for my /home directory, under Ubuntu 10.04 with kernel
2.6.32-22. I love it, but I'm having trouble mounting it through fstab
consistently. How can I set a UUID for an nilfs volume? I've been unable
to do so using any of the linux tools I'm aware of.
--Darien Large
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uuid for nilfs partition?
[not found] ` <4BFA8D5B.6000700-RrB2l6sP9Nll57MIdRCFDg@public.gmane.org>
@ 2010-05-24 15:33 ` Ryusuke Konishi
[not found] ` <20100525.003345.115737304.ryusuke-sG5X7nlA6pw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Ryusuke Konishi @ 2010-05-24 15:33 UTC (permalink / raw)
To: dlarge-RrB2l6sP9Nll57MIdRCFDg; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Hi,
On Mon, 24 May 2010 09:29:47 -0500, Darien Large wrote:
> I'm using nilfs2 for my /home directory, under Ubuntu 10.04 with kernel
> 2.6.32-22. I love it, but I'm having trouble mounting it through fstab
> consistently. How can I set a UUID for an nilfs volume? I've been unable
> to do so using any of the linux tools I'm aware of.
>
> --Darien Large
UUID is set when creating nilfs volume with mkfs.nilfs2 (or mkfs -t
nilfs2). But, the current standard mount program does not identify
the UUID of nilfs partitions.
Unfortunately, no UUID (nor label) tool is yet available for nilfs
though it's not time-consuming job.
The problem is that we were not able to promote nilfs to such standard
tools yet. Recently we had discussion on the procedure to do this,
but sorry, it seems still take a while by the time it becomes
available commonly.
Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uuid for nilfs partition?
[not found] ` <20100525.003345.115737304.ryusuke-sG5X7nlA6pw@public.gmane.org>
@ 2010-05-24 16:11 ` Darien Large
2010-05-28 20:11 ` Jay Carlson
1 sibling, 0 replies; 4+ messages in thread
From: Darien Large @ 2010-05-24 16:11 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Super, thank you very much for the info!
On 05/24/2010 10:33 AM, Ryusuke Konishi wrote:
> Hi,
> On Mon, 24 May 2010 09:29:47 -0500, Darien Large wrote:
>
>> I'm using nilfs2 for my /home directory, under Ubuntu 10.04 with kernel
>> 2.6.32-22. I love it, but I'm having trouble mounting it through fstab
>> consistently. How can I set a UUID for an nilfs volume? I've been unable
>> to do so using any of the linux tools I'm aware of.
>>
>> --Darien Large
>>
> UUID is set when creating nilfs volume with mkfs.nilfs2 (or mkfs -t
> nilfs2). But, the current standard mount program does not identify
> the UUID of nilfs partitions.
>
> Unfortunately, no UUID (nor label) tool is yet available for nilfs
> though it's not time-consuming job.
>
> The problem is that we were not able to promote nilfs to such standard
> tools yet. Recently we had discussion on the procedure to do this,
> but sorry, it seems still take a while by the time it becomes
> available commonly.
>
> Regards,
> Ryusuke Konishi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uuid for nilfs partition?
[not found] ` <20100525.003345.115737304.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-05-24 16:11 ` Darien Large
@ 2010-05-28 20:11 ` Jay Carlson
1 sibling, 0 replies; 4+ messages in thread
From: Jay Carlson @ 2010-05-28 20:11 UTC (permalink / raw)
To: Ryusuke Konishi
Cc: Jay Carlson, dlarge-RrB2l6sP9Nll57MIdRCFDg,
linux-nilfs-u79uwXL29TY76Z2rM5mHXA
On May 24, 2010, at 11:33 AM, Ryusuke Konishi wrote:
> Hi,
> On Mon, 24 May 2010 09:29:47 -0500, Darien Large wrote:
>> I'm using nilfs2 for my /home directory, under Ubuntu 10.04 with kernel
>> 2.6.32-22. I love it, but I'm having trouble mounting it through fstab
>> consistently. How can I set a UUID for an nilfs volume? I've been unable
>> to do so using any of the linux tools I'm aware of.
>>
>> --Darien Large
>
> UUID is set when creating nilfs volume with mkfs.nilfs2 (or mkfs -t
> nilfs2). But, the current standard mount program does not identify
> the UUID of nilfs partitions.
(I am writing this for Google to find.)
There is an interesting question of whether snapshots (or even checkpoints) should get their own true UUIDs, but it is not necessary to answer that question immediately; it does not fit the current Linux tools well.
One could use /dev/disk/by-id until blkid and other tools like util-linux-ng support nilfs UUIDs. The UUID will be superior because it is the identity of the filesystem itself. But for many simple uses, filesystems do not move from one physical medium to another, and the medium's identity then can be used as a way of persistently referring to the filesystem. udev can probe for serial numbers, and I know the udev rules shipping with Ubuntu have done this for a while.
For example, on an Ubuntu 10.04 server the boot disk in one machine shows up in /dev/disk/by-id:
ata-WDC_WD7500AADS-00L5B1_WD-WCAU4A688888
ata-WDC_WD7500AADS-00L5B1_WD-WCAU4A688888-part1
ata-WDC_WD7500AADS-00L5B1_WD-WCAU4A688888-part2
And because this disk is relatively new, it also has a World Wide Name:
wwn-0x50014ee202e88888
wwn-0x50014ee202e88888-part1
wwn-0x50014ee202e88888-part2
As it happens, that second partition is actually an LVM2 container, which also provides (not so unique) dm names for its contents:
dm-name-fade2sys-root
dm-name-fade2sys-swap
But LVM2 gives dm a real unique identifier for those as well:
dm-uuid-LVM-5y6K2m8AqnUNwE8EZBzQgbgAl4p5wj1s3kb0fwsPc7X4drBv1M2Xog3OlHfiYlYq
dm-uuid-LVM-5y6K2m8AqnUNwE8EZBzQgbgAl4p5wj1sDEfgiabT2qYUpRwWbtqR11MgIl1JRda0
USB mass storage devices get a serial number:
usb-IMC_KanguruDrive2.0_074519340060-0:0
usb-IMC_KanguruDrive2.0_074519340060-0:0-part1
Unfortunately, card readers (like the tiny microSD USB readers) show up under their identity rather than the medium's. So if you want to keep your home through a card reader device and have it distinguished from other cards, create an LVM2 container on the SD or CF card. (However, alignment of logical volume blocks with physical flash erase blocks then becomes important, and I have not personally performed this procedure yet.)
Jay
P.S.: I'm not lucky enough to actually have a drive with that many 8s in a row in both the serial number and the WWN, but that's the format.--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-28 20:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 14:29 uuid for nilfs partition? Darien Large
[not found] ` <4BFA8D5B.6000700-RrB2l6sP9Nll57MIdRCFDg@public.gmane.org>
2010-05-24 15:33 ` Ryusuke Konishi
[not found] ` <20100525.003345.115737304.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-05-24 16:11 ` Darien Large
2010-05-28 20:11 ` Jay Carlson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.