You are not logged in.
Using the marvellous LVM & Sidstrap guides, I've installed a gleaming new system. Everything went swimmingly well until...
I like to have a seperate music partition, but I like to mount it at
/home/daddy/music
I forgot. Now I would like to move it from
/home/music
to
/home/daddy/music
I've edited fstab to reflect this, but this hasn't worked & I'm assuming it's something to do with LVM. Can anyone help please?
Here is my current unedited fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/lv-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=7bffa61d-7537-45ca-8bca-7894d4a6524b /boot ext2 defaults 0 2
/dev/mapper/lv-home /home ext4 defaults 0 2
/dev/mapper/lv-music /home/music ext4 defaults 0 2
/dev/mapper/lv-var /var ext4 defaults 0 2
/dev/mapper/lv-swap none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
Many thanks
[Edit]
I should also add that /home/music is empty as is /home/daddy/music
Last edited by donkeyotay (2013-05-12 15:10:23)
I didn't say it was your fault... I said I was going to blame you.
Offline
does your user own the folder?
change fstab to reflect the new mount point
/dev/mapper/lv-music /home/daddy/music ext4 defaults 0 2
reboot, then check
ls -l /home/daddy | grep music
the folder should be owned by root, do
sudo chown daddy:dayy /home/daddy/music
and enjoy the music...
#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch
Offline
Many thanks for the reply. I've done as you say and got the result...
however I still have
/home/music
as well as
/home/daddy/music
fstab looks like this now
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/lv-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=7bffa61d-7537-45ca-8bca-7894d4a6524b /boot ext2 defaults 0 2
/dev/mapper/lv-home /home ext4 defaults 0 2
/dev/mapper/lv-music /home/daddy/music ext4 defaults 0 2
/dev/mapper/lv-var /var ext4 defaults 0 2
/dev/mapper/lv-swap none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
Should I still have
/home/music
Many thanks
I didn't say it was your fault... I said I was going to blame you.
Offline
you're welcome!
I guess /home/music/ is going to sit there as an empty folder until you delete it...before doing so, just check that it is indeed empty and that the LV is mounted in the right place...
Last edited by VDP76 (2013-05-12 10:33:16)
#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch
Offline
That's it
Simply deleted it.
Thanks for the reply.
I didn't say it was your fault... I said I was going to blame you.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat