Operating System - Tru64 Unix
1827283 Members
3562 Online
109717 Solutions
New Discussion

Re: file system differences

 
SOLVED
Go to solution
raven_8
Frequent Advisor

file system differences

when I do a "df" on the system I want to mirror and the system I'm installing I get different results:

System I'm mirroring:

Filesystem
root_domain#root
/proc
usr_domain#usr
usr_domain#var

system I'm building:

Filesystem
/dev/vol/rootdg/rootvol
/proc
/dev/vol/rootdg/usrvol

are the differences just a difference because they are different versions of tru64, or are they actual different file systems?
11 REPLIES 11
Han Pilmeyer
Esteemed Contributor
Solution

Re: file system differences

The fist one is set up using AdvFS (the Advanced File System), then second one is probably UFS on top of LSM. You probably want to redo the 2nd system and go for AdvFS. It's miles ahead of UFS.
raven_8
Frequent Advisor

Re: file system differences

Dammit. I was hoping you wouldn't say that.
raven_8
Frequent Advisor

Re: file system differences

Can I just change it? Or do I need to reinstall?
Han Pilmeyer
Esteemed Contributor

Re: file system differences

If you have an additional disk in the system, you could create the AdvFS file systems there and copy the contents of all file systems. You'll also need to adjust some files.

There is no UFS to AdvFS convert command.
raven_8
Frequent Advisor

Re: file system differences

OK, thanks again. I was just hoping.
Michael Schulte zur Sur
Honored Contributor

Re: file system differences

Hi,

you could unhook the system disks from lsm with volunroot before copying.
Can you post /etc/fstab to make sure you have ufs file systems?

thanks,

Michael
raven_8
Frequent Advisor

Re: file system differences

One last question, what's the best way to get partition information?

Do I see all the space that's on that disk when I do a df? What I mean is: is that just assigned partition information and I could have 400 Gb unassigned on the disk and not see it?
raven_8
Frequent Advisor

Re: file system differences

here you go:
orig:
# cat etc/fstab
root_domain#root / advfs rw 0 1
/proc /proc procfs rw 0 0
usr_domain#usr /usr advfs rw 0 2
usr_domain#var /var advfs rw 0 2

New:
# cat etc/fstab
/dev/vol/rootdg/rootvol / ufs rw 1 1
/proc /proc procfs rw 0 0
/dev/vol/rootdg/usrvol /usr ufs rw 1 2
Han Pilmeyer
Esteemed Contributor

Re: file system differences

To see the partitions you do "disklabel dskXX". Where "XX" is obviously replaced with the disk number. It's quite possible that you have an unused disk partition (probably "h") or that LSM is not using all the space available on the disk. You can use "voldg -g rootdg free" to see how much free space there is in the diskgroup or a command similar to "volprint -g rootdg -htpv" to see the rootdg configuration.

If you have a simple system and don't need LSM to mirror or stripe the disks, it's probably better to re-install and get rid of it alltogether. Makes things a lot simpler to manage.
raven_8
Frequent Advisor

Re: file system differences

Cool, thanks.
raven_8
Frequent Advisor

Re: file system differences

done